WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well.
git-svn-id: svn://10.0.0.236/trunk@179552 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2345,7 +2345,6 @@ nsLocalFile::Reveal()
|
||||
NS_IMETHODIMP
|
||||
nsLocalFile::Launch()
|
||||
{
|
||||
#ifndef WINCE
|
||||
const nsCString &path = mWorkingPath;
|
||||
|
||||
// use the app registry name to launch a shell execute....
|
||||
@@ -2386,7 +2385,6 @@ nsLocalFile::Launch()
|
||||
return NS_ERROR_FILE_EXECUTION_FAILED;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -236,7 +236,7 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count,
|
||||
// null terminate the array
|
||||
my_argv[count+1] = NULL;
|
||||
|
||||
#if defined(XP_WIN)
|
||||
#if defined(XP_WIN) && !defined (WINCE) /* wince uses nspr */
|
||||
STARTUPINFO startupInfo;
|
||||
PROCESS_INFORMATION procInfo;
|
||||
BOOL retVal;
|
||||
|
||||
Reference in New Issue
Block a user