Mail Archives: djgpp/1995/02/13/11:19:48
> Not only TC, but also MSC and any other DOS-based compiler except
> DJGPP do this thusly. It is, after all, the expected behavior,
> and system() is an ANSI function.
djgpp is certainly wrong, but although system() is ANSI, putenv() is
NOT ANSI, so ANSI cannot have anything to say about the environment
the child process gets.
> I hear that in v2.0 system() calls spawn(), so this problem will
> go away.
It does. There was also a replacement system() posted a while back
that would also call spawn.
- Raw text -