Doug Turner wrote:

> 
> How about adding a GetEnv/SetEnv method to the following interface:
> 
> http://lxr.mozilla.org/seamonkey/source/xpcom/threads/nsIProcess.idl


That doesn't really make alot of sense.  GetEnv/SetEnv make sense more 
for the *current* process than for child processes.  Adding these 
methods to an interface designed to spawn children may imply that they 
can be used at any time - whereas they are relly only meaningful before 
the child has started.

An nsICurrentProcess may make more sense - then we can add cwd and other 
useful functionality.

Mark.

 



Reply via email to