os/exec: shell command can't be killed when output redirected with cmd.exe #22381
Labels
FrozenDueToAge
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
When I run a shell command with
cmd.exe
and redirect either the stdout or the stderr, the command cannot be killed (it says that it has been killed once the command is done, but it keeps running).Here's the code (try to comment out
cmd.Stdout =...
andcmd.Stderr =...
):It outputs this:
And without the redirects, the output is:
System details
The text was updated successfully, but these errors were encountered: