delorie.com/archives/browse.cgi | search |
Date: | Wed, 30 Dec 92 20:53:24 EST |
From: | ronis AT onsager DOT chem DOT mcgill DOT ca (David Ronis) |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | environment and system calls |
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 Any obvious fix? Thanks in advance. David Ronis
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |