1
0
mirror of https://github.com/danog/process.git synced 2024-12-02 17:51:46 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Niklas Keller
a9f60b8d89
Don't accept handshake if process already ended
This might happen if the process is destroyed while the wrapper tries to establish the connections.
2017-11-24 18:43:57 -06:00
Niklas Keller
071ec5bed7
Cancel child PID watcher on destroy and close sockets before proc_close 2017-11-24 18:43:57 -06:00
Niklas Keller
f7d6288d21
Fix loop hanging if process is killed during handshake on Windows 2017-11-24 18:43:57 -06:00
Niklas Keller
df827c767e
Close sockets correctly if process gets destroyed by GC 2017-11-24 18:43:57 -06:00
Niklas Keller
15385047fc
Explicitly shut down sockets after exit code has been received 2017-11-24 18:43:56 -06:00
Niklas Keller
e8e8597457
Resolve stdio streams directly after third socket connected 2017-11-24 18:43:56 -06:00
Niklas Keller
7cf91efd08
Refactor for full Windows compatibility 2017-11-24 18:43:56 -06:00
Niklas Keller
88f8865a6a
More refactoring for Windows compatibility with improved BC 2017-11-24 18:43:56 -06:00
Chris Wright
6d2b28f4f5
Refactor for full Windows compatibility 2017-11-24 18:43:56 -06:00