Skip to content

Commit

Permalink
Merge pull request #105 from actbit/feature-support-dotnet-8
Browse files Browse the repository at this point in the history
fix: the window of the process launched by ProcessWrapper.StartWithEvent does not open on .NET .8.0.
  • Loading branch information
AlphaBs authored Jun 7, 2024
2 parents 4649c00 + daba775 commit 0acf3b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProcessBuilder/ProcessWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public ProcessWrapper(Process process)

public void StartWithEvents()
{
Process.StartInfo.CreateNoWindow = true;
Process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
Process.StartInfo.CreateNoWindow = false;
Process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
Process.StartInfo.UseShellExecute = false;
Process.StartInfo.RedirectStandardError = true;
Process.StartInfo.RedirectStandardOutput = true;
Expand Down

0 comments on commit 0acf3b5

Please sign in to comment.