Open JamesWTruher opened 3 years ago
Tagging subscribers to this area: @dotnet/area-system-console See info in area-owners.md if you want to be subscribed.
Author: | JamesWTruher |
---|---|
Assignees: | - |
Labels: | `area-System.Console`, `untriaged` |
Milestone: | - |
Not a regression, it reproes in 3.1 and 5.0, but definitely we need to take a look.
Description
it appears that an exited application hangs on to console handles after it exits The application that I'm seeing in is the
erlang
programiex
.here's the code that shows off the issue.
run the program and press
CTRL-C
twice (timing doesn't seem to matter here - quickly or slowly doesn't affect the outcome).Configuration
Regression?
not sure
Other information
if the line which redirects StandardInput (or StandardOutput) is not commented out the error does not occur. i'm confused as to what's going on, the process has exited, but the error suggests that something is hanging on to a console handle.