Mail Archives: djgpp/1992/12/31/16:57:41
>I want to communicate with a subprocess that I spawn using the system
>command. I tried to do this by setting some environment variables
>using setenv(). As far as the parent program is concerned, the
>environment variables are set; however, the child doesn't seem to
>inherit the modified environment. This probably is because the
>pararent is working on a protected mode copy of the environment table
The child runs off go32's environment, unfortunately. There currently
is no mechanism for setting up the environment the child gets, unless
you have your application create a batch file that sets them and then
runs the child.
- Raw text -