delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/28/02:45:16

From: "Peter S Tillier" <petert AT deadspam DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gawk 3.1.1 DJGPP v2.04 on Windows 2000 Pro problem using system() function and LFNs
Date: Tue, 28 Jan 2003 07:35:58 -0000
Organization: Private
Lines: 24
Message-ID: <b15bsv$gji$1$8300dec7@news.demon.co.uk>
References: <b13vp0$5g8$1$830fa79f AT news DOT demon DOT co DOT uk> <3e360683 DOT sandmann AT clio DOT rice DOT edu>
NNTP-Posting-Host: eq1152.demon.co.uk
X-Trace: news.demon.co.uk 1043739359 17010 158.152.22.92 (28 Jan 2003 07:35:59 GMT)
X-Complaints-To: abuse AT demon DOT net
NNTP-Posting-Date: Tue, 28 Jan 2003 07:35:59 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Charles Sandmann" <sandmann AT clio DOT rice DOT edu> wrote in message
news:3e360683 DOT sandmann AT clio DOT rice DOT edu...
> > My suspicion was that the system() command in gawk was
> > invoking command.com rather than cmd.exe, although I
> > assume that the value of COMSPEC would be checked by
> > the gawk code.
>
> Try:
>  SET SHELL=%comspec%
>
> before running.  Don't have time to try it, but I'm curious if it
> makes a difference.
>

Hi Chris,

Thanks for the suggestion.  I'll try it and post the results.

Peter
--
Peter S Tillier
"Who needs perl when you can write dc and sokoban in sed?"


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019