The run command doesn't always seem to kill interactive binaries

Description

Hitting Ctrl-C while executing a native binary will interrupt the thread which should propagate to the native binary. However, the process.destroy() in the finally block doesn't run for interactive processes. When invoking a batch file on Windows the "do you want to terminate this batch process?" question seems to prevent some binaries from cleanly existing which leaves them in the background still gobbling the input stream.

Ensure the destroy is always run.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Fix versions

Priority

Components

Sentry

Created April 22, 2020 at 5:11 PM
Updated May 4, 2020 at 9:59 PM
Resolved May 4, 2020 at 9:59 PM