Skip to content

Commit

Permalink
new Process set WindowStyle = ProcessWindowStyle.Hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoedemakers committed Jul 29, 2023
1 parent 341cc90 commit 75972bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions PicoNesLoader/PicoNesLoader/PicoLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ private void CheckPicoSystemStatus()
Arguments = "info -a",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Hidden
}
};
process.Start();
Expand Down Expand Up @@ -638,7 +639,8 @@ public void PicoFlash(string filename, string binaryType, long address, IProgres
Arguments = $"load {filename} -t {binaryType}{offsetArg}",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Hidden
}
};
process.Start();
Expand Down

0 comments on commit 75972bd

Please sign in to comment.