1
0
mirror of https://github.com/danog/process.git synced 2024-11-30 04:39:04 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
Max Furtuna
e7e28219da
Fix #29: Kill unresponsive processes 2019-01-15 15:42:43 -06:00
Aaron Piotrowski
efe168f47d
Fix code style 2018-10-17 12:27:43 -05:00
Aaron Piotrowski
5f5a901744
Add Process::__debugInfo()
Fixes #25.
2018-10-15 10:12:17 -05:00
Aaron Piotrowski
b71e5c0544
Wait until process starts to make streams available
The process runners can be simplified in the future with this change without breaking BC.
2018-10-15 09:47:28 -05:00
Aaron Piotrowski
8ec002633b
Return promise from Process::start(); int from Process::getPid() 2018-10-14 23:27:39 -05:00
Aaron Piotrowski
9460633c7d
Use shared CS config; update styles 2018-10-14 23:16:09 -05:00
Aaron Piotrowski
986ff9f8a6
Fix code style 2017-12-13 20:33:28 -06:00
Niklas Keller
d716404abc Add another test with long output 2017-12-10 22:17:04 +01:00
Niklas Keller
1a4cd84e82 Add test with process printing something then exiting 2017-12-10 22:00:14 +01:00
Aaron Piotrowski
a4b1fa64fa
Update tests
Improved some tests and (hopefully) fixed a timing issue on windows in kill test.
2017-12-06 20:41:07 -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
04a4c8cea2
Test spawning many processes 2017-12-06 13:00:14 -06:00
Niklas Keller
55bf848767 Clean up tests 2017-12-05 22:53:41 +01:00
Niklas Keller
94479ce058 Fix testProcessEnvIsValid on Windows 2017-12-05 22:41:30 +01:00
Aaron Piotrowski
36c4d2da74
Update tests 2017-12-05 08:28:12 -06:00
Niklas Keller
2591a9cd77 Fix testProcessEnvIsValid and skip signal test 2017-12-05 10:52:03 +01:00
peter279k
2a429681bd
Improve test coverage 2017-12-04 23:03:51 -06:00
Aaron Piotrowski
7c1b46d391
Fix test namespace 2017-12-02 21:16:52 -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
Aaron Piotrowski
cc85c607b9 Upgrade to PHPUnit 6 2017-06-15 22:53:33 -05:00
Aaron Piotrowski
319de2ff33 Update fixer config / fix styles 2017-06-15 12:11:38 -05:00
Aaron Piotrowski
6b965310b0 when() → onResolve() 2017-03-21 17:37:12 -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
1736be4a7c Update for async-interop merge and other Amp changes 2017-03-16 10:04:52 -05: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
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