Handle stdin closing
See original GitHub issueDescription
When running react-script
from something like Phoenix, when you stop the phoenix process, the react-script
process hangs around in the background. Brunch and webpack have both implemented this.
Expected behavior
The process is stopped when stdin is closed.
Actual behavior
The process does not stop.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Closing the Standard Input - Stack Overflow
It seems that there is no way to read the input. However, if you happened to foresee such a situation, you could "save"...
Read more >Process not closing when stdin is closed - Unix Stack Exchange
stdin is file descriptor 0 . Closing a file descriptor of a process is something that can only be done actively by the...
Read more >How do I close stdin in a shell script? - Super User
I have a misbehaving program that I need to call from my script. It exits as soon as it sees something on stdin....
Read more >Sending data to a Python subprocess without closing stdin ...
I've tried something along this lines, to no avail. The problem is that I want the keep the stdin handle open, because if...
Read more >8.2. Catching user input - The Linux Documentation Project
syntax. In the above example, file descriptor 7, which has been assigned to standard input, is closed each time the user needs to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is still broken. The above PR is still open.
Hopefully this is fixed by #2246. Let me know if you see this again with
react-scripts
>=1.0.1
.