How about we just use the NSPR function that is meant for this purpose:
PR_NewProcessAttr http://www.mozilla.org/projects/nspr/reference/html/prprocess.html#24416 (see the description)
and use that processattr in PR_CreateProcess: http://www.mozilla.org/projects/nspr/reference/html/prprocess.html#24535
at this place in mozilla code: http://lxr.mozilla.org/seamonkey/source/xpcom/threads/nsProcessCommon.cpp#283
How about we just use the NSPR function that is meant for this purpose:
PR_NewProcessAttr www.mozilla. org/projects/ nspr/reference/ html/prprocess. html#24416
http://
(see the description)
and use that processattr in PR_CreateProcess: www.mozilla. org/projects/ nspr/reference/ html/prprocess. html#24535
http://
at this place in mozilla code: lxr.mozilla. org/seamonkey/ source/ xpcom/threads/ nsProcessCommon .cpp#283
http://