mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
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:
parent
c2ba47a939
commit
f2355ab868
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user