Re: Is there any method i can use to kill child process after killing parent process in Js

2014-05-05 Thread Benjamin Smedberg

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


Is there any method i can use to kill child process after killing parent process in Js

2014-04-30 Thread zero
i encountered a problem when programming with js api nsIProcess.


could you help me to resolve  it.




 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
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform