Fixing problem where mExitValue is unconditionally -1 on the mac after running a process. No bug. r+sr=dbaron@dbaron.org, a=asa@mozilla.org

This commit is contained in:
jst%mozilla.jstenback.com 2004-10-22 23:55:56 +00:00
parent c2ba47a939
commit f2355ab868

View File

@ -352,6 +352,9 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count, PRUint32 *pid
if (err != noErr) {
rv = PR_FAILURE;
}
mExitValue = err;
#else
if ( blocking ) {
mProcess = PR_CreateProcess(mTargetPath.get(), my_argv, NULL, NULL);