phasync\Process\WindowsProcessRunner
final
class
Documentation
Inheritance
Implements:
phasync\Process\ProcessInterface
Constants (4)
| Name | Value |
|---|---|
SECURITY_TOKEN_SIZE |
16 |
STDIN |
0 |
STDOUT |
1 |
STDERR |
2 |
Properties (7)
array $command
The command and arguments
mixed $process
The proc_open resource
array $pipes
The stream resources to communicate with the process
array $status
The last retrieved status from proc_get_status()
int $wrapperPid
array $securityTokens
phasync\Server\TcpServer $socketConnector
Methods (18)
Launch a new process.
Documentation missing
Documentation missing
Documentation missing
Returns true if the process is still running.
Returns true if the process is stopped (generally via
Return the exitcode of the process, or false if the process
Send a POSIX signal to the process.
SIGTERM requests a process to terminate. It is a polite way to tell
This signal forces a process to terminate immediately. Operating
This signal is typically sent when the user types the interrupt
This signal pauses a process's execution. It can be used to
SIGCONT is used to resume a process previously stopped by SIGSTOP
Originally sent when a terminal was closed, today SIGHUP is often
Update the process status, unless the process is no longer running.
Perform a Fiber-blocking read from the given process pipe
Perform a Fiber-blocking write to the given process pipe
Documentation missing