www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/27/23:45:31

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
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: Mon, 27 Jan 2003 22:26:43 CST
Organization: Rice University, Houston TX
Lines: 11
Message-ID: <3e360683.sandmann@clio.rice.edu>
References: <b13vp0$5g8$1$830fa79f AT news DOT demon DOT co DOT uk>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1043728004 25195 128.42.105.3 (28 Jan 2003 04:26:44 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 28 Jan 2003 04:26:44 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> 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.

- Raw text -


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