Bernd Eilers wrote:

Hi Stephan,

 >>[... snip ...]
On Unix, osl_executeProcess obviously needs to initiate the fork(2) (and there obviously needs to be some mapping between the child pid returned by fork and the oslProcess returned by osl_executeProcess).
 >>[... snip ...]

Oh bye the way please do not use fork(2) to implement osl_executeProcess.

Have a look here:
http://developers.sun.com/solaris/articles/subprocess/subprocess.html

fork/exec has the advantages that it is (a) universally available and (b) flexible enough for implementing the osl/process.h interface.

But, of course, you are welcome to create patches that improve the current code. :)

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to