On 5/1/2014 9:24 PM, zero wrote:
  i fork a process from his parent process using nsIProcess.runAsync()


  when i kill the parent process , the child process is untraceable.


  is there any method i can use to kill child process after killing parent 
process
This is a hard problem in general. On Windows, you may be able to put everything in a Job and then kill off the job if you don't need it any more. On *nix systems a process group can do approximately the same thing.

--BDS

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to