1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
Aaron Piotrowski
f48066eb1b
Drop Fork along with Process and Strand interfaces
Forking is just too dangerous for virtually no gain over Process. Context now extends Sync\Channel.
2017-11-10 09:59:23 -06:00
Aaron Piotrowski
84b611e780
Move ExitResult classes out of Internal namespace 2017-07-28 17:34:24 -05:00
Aaron Piotrowski
cab8bbe8f6
Add ability to set Environment class name 2017-07-27 23:31:43 -05:00
Pieter Hordijk
8e6def047e Fixes the constant used
`\PHP_BINARY` will never give phpdbg, but always the full path to the
binary. You meant to use `\PHP_SAPI` here too just like on the previous
line.
2017-07-26 20:16:47 +02:00
Aaron Piotrowski
6ed128f3e7
Quite style fixer 2017-07-20 23:58:13 -05:00
Niklas Keller
6b2f5cd3fa Bypass shell on Windows to fix paths with spaces 2017-06-24 00:29:34 +02:00
Niklas Keller
acd8b59d53 Apply escapeshellarg on PHP_BINARY so it works on paths with spaces
This is especially important on Windows with PHP being in C:\Program Files\...
2017-06-24 00:12:12 +02:00
Niklas Keller
8ecfed57bf Unreference stderr reading, so it doesn't keep the loop running 2017-06-23 16:44:17 +02:00
Niklas Keller
8c726c67b6 Remove -- when invoking the PHP CLI binary 2017-06-21 18:20:06 +02:00
Niklas Keller
84cd33a503 Pipe stderr of worker processes to the parents stderr 2017-06-21 18:20:06 +02:00
Niklas Keller
ba4e101314 Use argseparator (--) also for PHP CLI 2017-06-21 17:30:26 +02:00
Niklas Keller
d3ccd57d23 Never display errors, log them instead 2017-06-21 15:30:52 +02:00
Niklas Keller
39664d42d0 Fix binary when running via phpdbg 2017-06-17 19:27:16 +02:00
Aaron Piotrowski
820b6897ed Update for process changes 2017-06-15 23:46:15 -05:00
Niklas Keller
2e9a29ae1c Apply Amp's code style 2017-05-18 09:51:31 +02:00
Aaron Piotrowski
c7294da60d Reorganize exception classes and add TaskError
TaskError is thrown if the exception thrown in the worker was an instance of Error.
2017-05-17 23:13:29 -05:00
Niklas Keller
b148a20257 Update to latest Amp and byte-stream changes 2017-05-10 09:05:35 +02:00
Aaron Piotrowski
34d07fcd34 Update for process change 2017-03-16 22:26:05 -05:00
Aaron Piotrowski
6a8eb2130e Update for async-interop merge and other Amp changes 2017-03-16 17:03:59 -05:00
Aaron Piotrowski
93c996b6c5 Cleaner doReceive 2017-03-09 16:48:34 -06:00
Aaron Piotrowski
c16a015562 Convert ChannelException to ContextException 2017-03-09 16:15:30 -06:00
Aaron Piotrowski
b51e4f7ba6 ExitStatus → ExitResult 2017-01-16 23:24:59 -06:00
Aaron Piotrowski
dc1aea8654 Use amphp/process package 2017-01-16 12:56:49 -06:00
Aaron Piotrowski
f5ebd6b435 Update for async-interop namespace change 2017-01-09 11:11:25 -06:00
Aaron Piotrowski
71f8d2016d Drop strict types 2016-12-29 19:16:04 -06:00
Aaron Piotrowski
6d88d87fe0 Awaitable → Promise 2016-11-14 17:43:44 -06:00
Aaron Piotrowski
fa8985d7e3 Remove dependency on amphp/socket 2016-08-30 18:27:14 -05:00
Aaron Piotrowski
fdb4a81600 Remove reference to process object from watcher 2016-08-28 23:10:10 -05:00
Aaron Piotrowski
8126b8e3f2 Property docblock cleanup 2016-08-26 10:10:03 -05:00
Aaron Piotrowski
ce25a0179d Rename to Parallel 2016-08-23 16:47:40 -05:00
Aaron Piotrowski
b924fc2b6e Code cleanup 2016-08-22 18:25:19 -05:00
Aaron Piotrowski
c068a5ae38 Use strict types; fix tests 2016-08-21 23:40:48 -05:00
Aaron Piotrowski
da84a772cf Port to Amp 2016-08-18 11:04:48 -05:00
Aaron Piotrowski
54810f1d67 Update composer and dir name for Amp 2016-07-20 09:23:50 -05:00