Fabien Potencier
|
c305a52324
Merge branch '2.1'
|
12 years ago |
Grégoire Pineau
|
f43a123855
[Process] Fixed bug introduced by 7bafc69f38a3512eb15aad506959a4e7be162e52.
|
12 years ago |
Romain Neutron
|
d88e01bb1a
[Process] Add output / error output incremental getters
|
12 years ago |
Fabien Potencier
|
fa844147f9
Merge branch '2.1'
|
12 years ago |
Romain Neutron
|
c1a8adcce9
Add a Sigchild compatibility mode (set to false by default)
|
12 years ago |
Fabien Potencier
|
be5810832a
merged branch romainneutron/ProcessExceptions (PR #5398)
|
12 years ago |
boombatower
|
de4e7955ab
[Process] change all documentation type to callable
|
12 years ago |
Romain Neutron
|
4942bf3a90
[Process] Normalize exceptions
|
12 years ago |
Romain Neutron
|
9d4ac68609
Add @Seldaek remote modifications
|
12 years ago |
Jordi Boggiano
|
86c20b9cab
[Process] Add workaround for PHP's internal sigchild failing to return proper exit codes
|
12 years ago |
Pascal Borreli
|
7278cfeeb1
Fixed typos
|
12 years ago |
Pascal Borreli
|
8d931b8371
Fixed Phpdoc
|
12 years ago |
Chris Smith
|
ae0635cf77
[Process] Fixed a problem on RHEL5 where the exit code was incorrect
|
12 years ago |
Fabien Potencier
|
b492b310cc
[Process] fixed setting the timeout to null
|
12 years ago |
Fabien Potencier
|
87965e1066
[Process] re-added the possibility to set the Process timeout to null (to disable it) (closes #4843)
|
12 years ago |
Fabien Potencier
|
acfc0c7414
[Process] fixed setTimeout() to not allow negative timeout values (closes #4647)
|
12 years ago |
Fabien Potencier
|
2cd16e5708
fixed CS
|
12 years ago |
Jordi Boggiano
|
f4f101fc7c
[Process] Refactor the windows handling so it is always executed
|
12 years ago |
Fabien Potencier
|
2917ec05bb
fixed CS
|
12 years ago |
Fabien Potencier
|
cfeeff8ab9
fixed CS
|
12 years ago |
Tobias Schultze
|
3f95a01265
put parentheses back
|
12 years ago |
Tobias Schultze
|
45356d0c80
fix typo
|
12 years ago |
Andrej Hudec
|
bb80507945
fix php5.4 problem
|
12 years ago |
Andrej Hudec
|
108c0461af
fix hanging of unit tests on Windows
|
12 years ago |
Kim Hemsø Rasmussen
|
9b5cfa883c
[process] Added destructor to process to make sure handles are always closed in the right order.
|
12 years ago |
Jordi Boggiano
|
c95f8863e1
[Process] Close pipes before calling proc_close to avoid deadlocks as advised on the proc_close php.net documentation
|
12 years ago |
Jordi Boggiano
|
abece34dd8
[Process] Removing useless code (this is already done in updateStatus)
|
12 years ago |
Jordi Boggiano
|
b5b6fe6ed2
[Process] Fix a mistake triggering stream_select errors
|
12 years ago |
Fabien Potencier
|
6b79e8b8d3
[Process] added a note about user-defined error exist codes
|
12 years ago |
Fabien Potencier
|
e3fd2b9746
[Process] renamed waitForTermination() to wait()
|
12 years ago |
Fabien Potencier
|
191af4bc0c
[Process] fixed CS
|
12 years ago |
drak3
|
a112f8b27b
fixed cs
|
12 years ago |
drak3
|
3523cab07c
[Process] Added support for non-blocking process control Added methods to control long running processes to the Process class: - A non blocking start method to startup a process and return immediately - A blocking waitForTermination method to wait for the processes termination - A stop method to stop a process started with start All status-getters like getOutput were changed to return real-time data
|
12 years ago |
Fabien Potencier
|
d9db1dc7f1
[Process] fixed CS
|
12 years ago |
Jordi Boggiano
|
e94c649584
Feedback fixes
|
12 years ago |
Jordi Boggiano
|
1d110133b0
Restore bypass_shell by default with windows compat
|
12 years ago |
Jordi Boggiano
|
232fb3caba
Fix env inheritance and added tests
|
12 years ago |
Jordi Boggiano
|
b4bfbdc480
[Process] Add windows compatibility to Process component
|
12 years ago |
Fabien Potencier
|
f381eeee37
[Process] added Process::getExitCodeText() (closes #2818)
|
12 years ago |
Fabien Potencier
|
379b35a41a
[Process] fixed usage of constants in closure
|
13 years ago |
Fabien Potencier
|
1236c70c52
[Process] added some constant to avoid harcoded strings
|
13 years ago |
Fabien Potencier
|
83186a5f10
[Process] fixed CS
|
13 years ago |
Osman Üngür
|
a6e3796837
Fixed problems with running processes returns wrong exitcode (-1) on Linux.
|
13 years ago |
Fabien Potencier
|
2eff085123
[Process] removed workaround as it seems to not work anymore after the recent changes
|
13 years ago |
Fabien Potencier
|
9d379d2918
fixed CS
|
13 years ago |
Fabien Potencier
|
dfa11843cf
[Console] fixed Process exit code
|
13 years ago |
lenar
|
a6f47e2e47
Make run() fully non-blocking and fix potential other problems
|
13 years ago |
Costin Bereveanu
|
ec62915f98
Fix process creation under Win7 Ultimate (app/console assetic:dump ./web): - Set the default $env to NULL, thus inheriting the system's environment settings (array() is no good). - Set bypass_shell to false, otherwise process creation will fail (I don't know if this should happen only on Win7)
|
13 years ago |
Adrian Rudnik
|
b9049a3ce6
[Process] Workaround for windows based stderr bug
|
13 years ago |
Adrian Rudnik
|
d8fff79e66
[Process] Wrong descriptor mode for stderr
|
13 years ago |