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)
361361 {
362362 Debug . WriteLine ( "Launching EXE in FullTrustProcess" ) ;
363363 ApplicationData . Current . LocalSettings . Values [ "Application" ] = ApplicationPath ;
364+ ApplicationData . Current . LocalSettings . Values [ "Arguments" ] = null ;
364365 await FullTrustProcessLauncher . LaunchFullTrustProcessForCurrentAppAsync ( ) ;
365366 }
366367
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ static void Main(string[] args)
1717 Process process = new Process ( ) ;
1818 process . StartInfo . UseShellExecute = false ;
1919 process . StartInfo . FileName = executable ;
20- if ( arguments != "" )
20+ if ( ! string . IsNullOrWhiteSpace ( arguments ) )
2121 {
2222 process . StartInfo . CreateNoWindow = false ;
2323 process . StartInfo . Arguments = arguments ;
You can’t perform that action at this time.
0 commit comments