Chris Wright
|
11a3e27db5
|
Escape script path in Process command (#38)
|
2018-01-31 18:31:36 +01:00 |
|
Syed Irfaq R. ⚡️
|
d2b9c03318
|
Fixes #35 (#36)
|
2018-01-22 16:15:09 -06:00 |
|
Niklas Keller
|
d16da4611e
|
Fix usage inside PHARs
|
2018-01-22 15:03:31 +01:00 |
|
Aaron Piotrowski
|
0d40e6da98
|
Do not fclose socket or null thread ref; restore GC test
|
2017-12-27 12:36:28 -06:00 |
|
Aaron Piotrowski
|
0a474e18c0
|
Avoid cyclic references in threads
|
2017-12-26 23:16:44 -06:00 |
|
Niklas Keller
|
cfd33799d7
|
Avoid cyclic references, fixes amphp/parallel-functions#5
|
2017-12-26 10:02:43 -06:00 |
|
Aaron Piotrowski
|
9e7d1e0801
|
Throw if sending task fails
|
2017-12-13 16:29:44 -06:00 |
|
Aaron Piotrowski
|
2a09f82f39
|
Add more process tests; exclude scripts from coverage
|
2017-12-13 13:56:11 -06:00 |
|
Aaron Piotrowski
|
d89c9e3dee
|
Catch serialization failure in process runner
|
2017-12-13 10:31:43 -06:00 |
|
Aaron Piotrowski
|
8decdceb5d
|
Reorder Process constructor params
Shifted $binary to the end as it should rarely be needed.
|
2017-12-12 21:06:11 -06:00 |
|
Aaron Piotrowski
|
4d99a9d968
|
spawn → run
|
2017-12-10 17:01:10 -06:00 |
|
Aaron Piotrowski
|
852f580915
|
Remove $this magic from Thread callback
Channel is now passed as the first argument.
|
2017-12-10 16:53:51 -06:00 |
|
Aaron Piotrowski
|
4d4841f449
|
Refactor Process to make writing child processes simple
|
2017-12-10 16:39:49 -06:00 |
|
Aaron Piotrowski
|
4426686e54
|
Reorganize
|
2017-12-07 21:26:55 -06:00 |
|
Aaron Piotrowski
|
1adb63d906
|
Remove do*() private methods
Replaced with Amp\call().
|
2017-12-07 20:49:44 -06:00 |
|
Aaron Piotrowski
|
11a115670c
|
Only modify binary path if null
Also remove setting process options, as this is done in amphp/process anyway.
|
2017-12-06 16:01:11 -06:00 |
|
Aaron Piotrowski
|
e3b1cfd0cf
|
Allow custom binary path or locate binary
|
2017-12-05 18:21:39 -06:00 |
|
Aaron Piotrowski
|
3f7f21875d
|
Exit if constructing channel fails.
|
2017-11-29 23:02:36 -06:00 |
|
Aaron Piotrowski
|
3aff92fec4
|
Consolodate process and thread contexts into Context namespace
|
2017-11-29 15:01:32 -06:00 |
|