File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ public static async Task LaunchExe(string ApplicationPath)
361
361
{
362
362
Debug . WriteLine ( "Launching EXE in FullTrustProcess" ) ;
363
363
ApplicationData . Current . LocalSettings . Values [ "Application" ] = ApplicationPath ;
364
+ ApplicationData . Current . LocalSettings . Values [ "Arguments" ] = null ;
364
365
await FullTrustProcessLauncher . LaunchFullTrustProcessForCurrentAppAsync ( ) ;
365
366
}
366
367
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ static void Main(string[] args)
17
17
Process process = new Process ( ) ;
18
18
process . StartInfo . UseShellExecute = false ;
19
19
process . StartInfo . FileName = executable ;
20
- if ( arguments != "" )
20
+ if ( ! string . IsNullOrWhiteSpace ( arguments ) )
21
21
{
22
22
process . StartInfo . CreateNoWindow = false ;
23
23
process . StartInfo . Arguments = arguments ;
You can’t perform that action at this time.
0 commit comments