메소드 |
설명 |
|
buildArgs ( array $args ) : string |
Build arguments string from associative/enumerated array (may be mixed) |
|
close ( ) : void |
Close the process |
|
closeWrite ( ) : this |
Close write stream |
|
eof ( ) : boolean |
Got EOF? |
|
exec ( string $binPath = null, callable $cb = null, array $args = null, array $env = null ) |
Execute |
|
execute ( string $binPath = null, array $args = null, array $env = null ) : this |
Execute |
|
finishWrite ( ) : boolean |
Finish write stream |
|
getCmd ( ) : string |
Get command string |
|
getStatus ( ) |
|
|
nice ( integer $nice = null ) : this |
Set priority |
|
onEOF ( callable $cb = null ) : this |
Sets callback which will be called once when got EOF |
|
onEofEvent ( ) : void |
Called when got EOF |
|
onFinish ( ) |
Called when stream is finished |
|
setArgs ( $args = null ) : this |
Sets an array of arguments |
|
setChroot ( string $dir ) : this |
Set chroot |
|
setCwd ( string $dir ) : this |
Set cwd |
|
setEnv ( $env = null ) : this |
Set a hash of environment's variables |
|
setFd ( resource $fd, EventBufferEvent $bev = null ) : void |
Sets fd |
|
setGroup ( $val ) : this |
Set group |
|
setUser ( string $val ) : this |
Set group |
|
write ( string $data ) : boolean |
Send data to the connection. Note that it just writes to buffer that flushes at every baseloop |
|
writeln ( $data ) : boolean |
Send data and appending \n to connection. Note that it just writes to buffer flushed at every baseloop |
|