Skip to content

Commit

Permalink
kill unexited process
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz.wojtania committed Jan 8, 2025
1 parent e8578d9 commit 2cabe78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ private static PowerShellResult ExecuteProcess(string scriptPath, PowerShellPara
}
finally
{
if (!process.HasExited) process.Kill();
process.Close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ private static PowerShellResult ExecuteProcess(string scriptPath, PowerShellPara
}
finally
{
if (!process.HasExited) process.Kill();
process.Close();
}

Expand Down

0 comments on commit 2cabe78

Please sign in to comment.