www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/06/12:10:32

Message-ID: <19980106175736.03704@beeblebrox>
Date: Tue, 6 Jan 1998 17:57:36 +0100
From: Molnar Laszlo <molnarl AT cdata DOT tvnet DOT hu>
To: Daniel Taupin <taupin AT lps DOT u-psud DOT fr>
Cc: DJGPP List <djgpp AT delorie DOT com>, Latex2html list <latex2html AT mcs DOT anl DOT gov>
Subject: Re: Problems djgpp+perl+MSDOS
References: <34AA1DC4 DOT 1FC2B0AC AT lps DOT u-psud DOT fr>
Mime-Version: 1.0
In-Reply-To: <34AA1DC4.1FC2B0AC@lps.u-psud.fr>; from Daniel Taupin on Wed, Dec 31, 1997 at 12:26:13PM +0200

On Wed, Dec 31, 1997 at 12:26:13PM +0200, Daniel Taupin wrote:
> I'm trying to implement latex2html under DOS+djgpp environment. This
> requires perl which is also provided a perl54.zip
> (=perl5.004).
> Same results are erratic, and especially NOT reproducible, depending
> on the fact I use MSDOS (native below 3.11), MSDOS
> window of 3.11 or MSDOS window of Win95.
[..]
> Questions:
> 
>  1. Does djgpp+windows-dos-windows allow a C "system(...)" command
> which calls a djggpp routine which in turn contains a
> system(...) command?
>  Or are embedded system(...) commands forbidden|dangerous|discouraged?

No, there should be no problems. The perl test suit tests system()
quite well (but note that these tests use bash, and fail with
command.com!)

>  2. When C calls "system(some-command)", which is the default
> directory for "some-command"

Standard dos search path.

>  3. Is the perl "system(...)" command identical or similar to C's command?

DJGPP version of Perl system() command uses C's system function when no
shell special characters are found on the commandline. This check is
not foolproof, so your problem can be here.

If you send me more information, I could help.

bye, Laszlo

- Raw text -


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