mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
Fix windows console runner update crash (#1670)
* Kill node process to recover handle So we can print to the console in Runner.Listener once again * Revert testing changes Co-authored-by: Ferenc Hammerl <hammerl.ferenc@gmail.com>
This commit is contained in:
@@ -1060,6 +1060,8 @@ namespace GitHub.Runner.Listener
|
|||||||
arguments: $"\"{hashFilesScript.Replace("\"", "\\\"")}\"",
|
arguments: $"\"{hashFilesScript.Replace("\"", "\\\"")}\"",
|
||||||
environment: env,
|
environment: env,
|
||||||
requireExitCodeZero: false,
|
requireExitCodeZero: false,
|
||||||
|
outputEncoding: null,
|
||||||
|
killProcessOnCancel: true,
|
||||||
cancellationToken: token);
|
cancellationToken: token);
|
||||||
|
|
||||||
if (exitCode != 0)
|
if (exitCode != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user