delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/01/15:57:45

From: Eric Backus <ericb AT lsid DOT hp DOT com>
Subject: Re: environment and system calls
To: dj AT ctron DOT ctron DOT com (DJ Delorie)
Date: Fri, 1 Jan 93 12:35:22 PST
Cc: ronis AT onsager DOT chem DOT mcgill DOT ca, djgpp AT sun DOT soe DOT clarkson DOT edu
Mailer: Elm [revision: 66.25]

> >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().
> 
> The child runs off go32's environment, unfortunately.

It seems like we could make a new "turbo-assist" entry for setenv(),
to set go32's environment and thus the child's environment.  Would
this leave the parent's environment modifies when go32 exits?  If so,
we'd have to work around that somehow.
--
				Eric Backus
				ericb AT lsid DOT hp DOT com
				(206) 335-2495

- Raw text -


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