Util/Proc.php
- Classes
- Kwf_Util_Proc
\Kwf_Util_Proc
- Methods
- __construct
- __destruct
- close
- getPid
- getStatus
- isRunning
- pipe
- setTerminateOnDestruct
- terminate
Description
Wrapper around proc_open
Methods
__construct
__construct(
$cmd, $descriptorspec, $cwd
=
null, $env
=
null
)
:
Arguments
- $cmd
- $descriptorspec
- $cwd
- $env
Details
- visibility
- public
- final
- false
- static
- false
__destruct
__destruct(
)
:
Details
- visibility
- public
- final
- false
- static
- false
close
close(
$checkExitValue
=
true
)
:
Arguments
- $checkExitValue
Details
- visibility
- public
- final
- false
- static
- false
getPid
getPid(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getStatus
getStatus(
)
:
Details
- visibility
- public
- final
- false
- static
- false
isRunning
isRunning(
)
:
Details
- visibility
- public
- final
- false
- static
- false
pipe
pipe(
$nr
)
:
Arguments
- $nr
Details
- visibility
- public
- final
- false
- static
- false
setTerminateOnDestruct
setTerminateOnDestruct(
$v
)
:
Arguments
- $v
Details
- visibility
- public
- final
- false
- static
- false
terminate
terminate(
$signal
=
15
)
:
Arguments
- $signal
Details
- visibility
- public
- final
- false
- static
- false