1
edit
Changes
no edit summary
=Description=
The Mozilla API for [http://developer.mozilla.org/en/NsIProcess nsIProcess] is not fully implemented. At present, the PID of a created process is not retained and cannot API will be killed. The API would also benifit from given a new spec that includes inter-process communicationand then implemented.
=Leader=
=Details=
The API for [http://developer.mozilla.org/en/NsIProcess nsIProcess] is not fully implemented on Win32 and OSX and not at all on Linux. At present, the PID of a created process is not retained and cannot be killed. The API would also benifit from a new spec that includes inter-process communication.
An example of an API that for creating processes and communicating with them through STDIN/STDOUT is the Python subprocess module:
http://docs.python.org/lib/node528.html
The goal of this project is to create a similar API for Mozilla.
==API proposal==
==Existing API==
==Hot off the presses==
[https://wiki.mozilla.org/NsIProcess Sept 21, 2008]: A first draft (an alpha version really) of the API is posted
[http://zenit.senecac.on.ca/wiki/imgs/Patch210908.zip Sept 21, 2008]: Wrote a patch for the existing API so that the kill() method works for Win32.
[http://zenit.senecac.on.ca/wiki/index.php/User:Jamesboston/nsIProcess/meeting-092008 Sept 19, 2008]: Discussion with Benjamin Smedberg and David Humphries to discuss the new API proposal.<br />