Aaron Piotrowski
|
18ef28bf71
|
Refactor StreamedProcess
|
2017-06-15 12:02:50 -05:00 |
|
Aaron Piotrowski
|
9c8fe73b2c
|
Only reference watcher if running
|
2017-03-16 22:25:26 -05:00 |
|
Aaron Piotrowski
|
a69d56bb1b
|
Separate start and join methods
Allows exit code watcher to be unreferenced until the promise is requested.
|
2017-03-16 22:19:15 -05:00 |
|
Aaron Piotrowski
|
3ec6b15a18
|
Merge branch 'read-pid-from-pipe' into amp_v2
|
2017-03-16 12:53:06 -05:00 |
|
Aaron Piotrowski
|
1736be4a7c
|
Update for async-interop merge and other Amp changes
|
2017-03-16 10:04:52 -05:00 |
|
Aaron Piotrowski
|
b449381132
|
Read line instead of fix number of bytes
|
2017-03-09 23:33:23 -06:00 |
|
Aaron Piotrowski
|
fd97a8a8aa
|
Immediately read PID
|
2017-03-08 23:28:08 -06:00 |
|
Niklas Keller
|
03ca5f810b
|
Fix exit code on Windows
|
2017-03-05 17:48:27 +01:00 |
|
Aaron Piotrowski
|
ee7f35c3e4
|
Another try…
|
2017-02-09 13:32:07 -06:00 |
|
Aaron Piotrowski
|
4efa63d70d
|
Check for fast process finish
|
2017-02-09 12:25:27 -06:00 |
|
Aaron Piotrowski
|
96399025bb
|
Fix reading exit code on Windows
|
2017-02-09 11:17:05 -06:00 |
|
Aaron Piotrowski
|
37cf53aa27
|
Revert exit code piping change; remove exit code verification
|
2017-02-03 16:32:30 -06:00 |
|
Aaron Piotrowski
|
53b45ce0b9
|
Simpler exit code piping
|
2017-02-03 16:10:22 -06:00 |
|
Aaron Piotrowski
|
f2a8b44c40
|
Delay call to proc_close()
Calling proc_close() closes STDOUT and STDERR even if there is data available to read.
|
2017-01-16 12:37:00 -06:00 |
|
Aaron Piotrowski
|
ef6f58a4ce
|
Add isRunning() test
|
2017-01-15 23:07:51 -06:00 |
|
Aaron Piotrowski
|
79974426ae
|
Changes suggested by @kelunik plus some cleanup
|
2017-01-15 09:25:33 -06:00 |
|
Aaron Piotrowski
|
e062c3d207
|
Rename start() → execute() returning a promise; remove join()
|
2017-01-11 14:27:40 -06:00 |
|
Aaron Piotrowski
|
36c44aa353
|
Simplify writes
|
2017-01-11 13:57:04 -06:00 |
|
Aaron Piotrowski
|
3f3434ba18
|
Refactor for Amp v2
Merged Process and StreamedProcess from amphp/parallel that will now depend on this package.
|
2017-01-11 12:25:52 -06:00 |
|
Bob Weinand
|
d2da56638f
|
Fixup after PR #5, add some more tests
Also removing status() again
|
2015-09-16 19:56:15 +02:00 |
|
Edoardo Biraghi
|
618e4c9465
|
Removed unused functions
|
2015-09-11 19:23:57 +02:00 |
|
Edoardo Biraghi
|
7b7efae820
|
Add more tests for exec(), kill(), pid() and status()
|
2015-09-11 19:05:46 +02:00 |
|
Edoardo Biraghi
|
c449c52e75
|
Start testing with PHPUnit on multiple reactors
|
2015-09-11 16:39:38 +02:00 |
|