1
0
mirror of https://github.com/danog/process.git synced 2024-12-11 16:49:40 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
Niklas Keller
8aabd17000 Fix PID reader 2017-09-17 22:08:49 +02:00
Niklas Keller
13a71c570d Fix exit code reader 2017-09-17 22:07:53 +02:00
Niklas Keller
a5146213ec Fix ping-many example 2017-09-17 22:00:22 +02:00
Niklas Keller
fd1382fa6d Fix pidDeferred not being initialized 2017-09-17 21:58:08 +02:00
Niklas Keller
535598053e Ignore errors in destroy 2017-09-17 21:56:33 +02:00
Niklas Keller
08d53d901e Remove failures when === '', because Windows sometimes triggers that 2017-09-17 21:35:23 +02:00
Niklas Keller
3855fb6cba Fix Windows readDataFromPendingClient 2017-09-17 21:25:55 +02:00
Niklas Keller
7117a6aa92 Fix examples and running on Unix 2017-09-17 21:06:05 +02:00
Niklas Keller
624d8b59de Fix exit code watcher on Windows 2017-09-17 20:58:15 +02:00
Niklas Keller
f57648e278 Fix exit code watcher on Windows 2017-09-17 20:57:44 +02:00
Niklas Keller
4916378931 Fix exit code watcher on Windows 2017-09-17 20:56:17 +02:00
Niklas Keller
586d662b58 Fix issue with non-cancelled watcher 2017-09-17 20:45:36 +02:00
Niklas Keller
cc3357d003 Register exit code watcher directly on start on Windows 2017-09-17 19:20:15 +02:00
Niklas Keller
403452c321 Fix ProcessInputStream 2017-09-17 19:16:18 +02:00
Niklas Keller
08a7014aef Fix Windows runner 2017-09-17 19:14:42 +02:00
Niklas Keller
9f302191f7 Fixup refactoring, so tests pass
One test still fails with php-uv.
2017-09-17 19:07:13 +02:00
Niklas Keller
e2c8543c17 More refactoring for Windows compatibility with improved BC 2017-09-17 17:58:05 +02:00
Chris Wright
068c0f6f9e Refactor for full Windows compatibility 2017-09-17 17:57:32 +02:00
Aaron Piotrowski
5aa6040fcf
More specific std* return types 2017-07-17 22:37:19 -05:00
Aaron Piotrowski
cc85c607b9 Upgrade to PHPUnit 6 2017-06-15 22:53:33 -05:00
Aaron Piotrowski
6ef9d34179 Close pipes before proc; resolve with promise on windows 2017-06-15 15:38:07 -05:00
Niklas Keller
a0cf19e999 Prevent busy loop, sleep 10ms between status queries 2017-06-15 21:29:45 +02:00
Niklas Keller
5468a5280f Fix code style 2017-06-15 21:15:27 +02:00
Niklas Keller
90a18ada1a Fix exit code on Windows 2017-06-15 21:10:41 +02:00
Aaron Piotrowski
fb0a6456b0 Close pipe resources on destruct 2017-06-15 13:13:07 -05:00
Aaron Piotrowski
73582f9ee7 Return streams from Process and drop StreamedProcess 2017-06-15 12:52:07 -05:00
Niklas Keller
71ab90c2d8 Add PHP_CS_FIXER_IGNORE_ENV=1 2017-06-15 19:33:08 +02:00
Niklas Keller
1d204cb80f Fix installation on Travis for PHP 7.2 2017-06-15 19:30:27 +02:00
Aaron Piotrowski
d1808ff741 Fix branch names 2017-06-15 12:21:23 -05:00
Aaron Piotrowski
0384d99f26 Update readme 2017-06-15 12:17:45 -05:00
Aaron Piotrowski
743824d462 Merge branch 'master' into amp_v2 2017-06-15 12:16:54 -05:00
Aaron Piotrowski
319de2ff33 Update fixer config / fix styles 2017-06-15 12:11:38 -05:00
Aaron Piotrowski
18ef28bf71 Refactor StreamedProcess 2017-06-15 12:02:50 -05:00
Bob Weinand
594a5ef039 Prevent crash when queueing writes before StreamedProcess::start() 2017-04-13 01:57:19 +02:00
Aaron Piotrowski
6b965310b0 when() → onResolve() 2017-03-21 17:37:12 -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
86479bc591 Require fully qualified function calls 2017-03-05 18:08:34 +01: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
Daniel Lowrey
4a4311f20c Rename LICENCE to LICENSE 2017-02-02 17:08:25 -05: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