Mail Archives: djgpp/1997/12/23/12:13:55
On Mon, 22 Dec 1997, amit wrote:
> it seems that even though I use 'spawnve(..)' and passing
> my own environment array, the djgpp application sees the
> original Windows environment.
I'd guess that Borland and/or Win32 executables have their own way of
passing environment which bypasses the environment of the DOS box where
the DJGPP child program is run. Try calling the DJGPP program via
`system' instead of `spawnve'. If that doesn't help, try `system' with
explicit COMMAND.COM, like this:
system ("command.com /c myprogram.exe");
- Raw text -