Niklas Keller
b795d20a7f
Copy wrapper exe outside the archive on Windows in case of PHARs
2018-04-08 20:55:42 +02:00
Niklas Keller
f8fd55993d
Defer handshake timeout in case the event loop is completely blocked
...
Fixes #21 .
2018-03-08 16:02:04 +01: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
Aaron Piotrowski
0755a16660
Check if handle is still valid resource
2017-12-05 08:20:31 -06:00
Niklas Keller
2504312d90
Make deferred resolution more defensive
2017-12-05 12:38:59 +01:00
Niklas Keller
63ef6dd1c6
Null child PID watcher to prevent double resolve
2017-12-05 10:24:19 +01:00
Niklas Keller
e208c9f0be
Fix PID deferred on early terminate
2017-12-05 10:15:20 +01:00
Niklas Keller
9b7f14a7e3
Fail joinDeferred correctly on kill during startup
2017-12-05 09:49:00 +01:00
Niklas Keller
690d696dc9
Fix kill during startup on Windows
2017-12-05 09:44:06 +01:00
Niklas Keller
a7e750630c
Fix double deferred resolution if process spawn fails
2017-12-05 08:33:14 +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
8cbd431dab
Update Travis config and fix code style
2017-11-24 18:43:57 -06:00
Niklas Keller
96491ebfe1
Fix hanging if process is destroyed during startup
2017-11-24 18:43:57 -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
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