1
0
mirror of https://github.com/danog/process.git synced 2024-12-14 01:57:31 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Aaron Piotrowski
90f3f31cbd
Remove getting wrapper STDERR contents
Windows was hanging on this call. I don't think the pipe needs to be emptied before closing on Windows, but we can revisit this in the future if needed.
2018-11-08 18:02:00 -06:00
Aaron Piotrowski
9460633c7d
Use shared CS config; update styles 2018-10-14 23:16:09 -05:00
Niklas Keller
b795d20a7f Copy wrapper exe outside the archive on Windows in case of PHARs 2018-04-08 20:55:42 +02:00
Aaron Piotrowski
a13a2926a2
Avoid calling free() twice 2017-12-13 20:22:00 -06:00
Aaron Piotrowski
aeb22b9bda
Fix timing issues on streams
Killed or failed processes could lead to incorrect stream behaviors.
2017-12-06 19:21:06 -06:00
Niklas Keller
2504312d90 Make deferred resolution more defensive 2017-12-05 12:38:59 +01:00
Niklas Keller
e208c9f0be Fix PID deferred on early terminate 2017-12-05 10:15:20 +01:00
Niklas Keller
690d696dc9 Fix kill during startup on Windows 2017-12-05 09:44:06 +01:00
Aaron Piotrowski
c818f508d3
Add coverage annotations
Windows only classes cause havoc with coverage numbers… open to suggestions on how to fix but at least now it won't look like we didn't even try testing. :-P
2017-11-24 19:08:30 -06:00
Niklas Keller
9a52085bc8
Use fully qualified function calls 2017-11-24 18:43:58 -06:00
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
df827c767e
Close sockets correctly if process gets destroyed by GC 2017-11-24 18:43:57 -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