On 07/05/12 2:52 PM, Sean P. DeNigris wrote:
But this seems convoluted and I'm assuming there must be a simpler way.What is the best way to do this? I.e.: * launch a long running child process * without keeping the sh process open * accessing the pid of the child
How about:
process := UnixProcess
forkJob: job
arguments: args
environment: env
descriptors: nil.
^ process pid
Note that no "sh" is run, so you may need to set some environment
variables yourself.
