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

git-svn-id: svn://10.0.0.236/trunk@164224 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2004-10-22 23:55:56 +00:00
parent e86a1babe6
commit f895095dfc

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);