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 <[email protected]>
This commit is contained in:
co-authored by
Ferenc Hammerl
parent
2946801fb6
commit
9240a1cf6c
@@ -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