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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user