\Psc\Library\System\ProcSession

Summary

Methods
Properties
Constants
__construct()
close()
input()
write()
getStatus()
inputEot()
inputSignal()
__destruct()
$onClose
$onErrorMessage
$onMessage
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$streamStdInput
$streamStdOutput
$streamStdError
$status
$proc
N/A

Properties

$onClose

$onClose : \Closure

Type

\Closure

$onErrorMessage

$onErrorMessage : \Closure

Type

\Closure

$onMessage

$onMessage : \Closure

Type

\Closure

$streamStdInput

$streamStdInput : \Psc\Library\System\Proc\ProcStream

Type

ProcStream

$streamStdOutput

$streamStdOutput : \Psc\Library\System\Proc\ProcStream

Type

ProcStream

$streamStdError

$streamStdError : \Psc\Library\System\Proc\ProcStream

Type

ProcStream

$status

$status : array

Type

array

$proc

$proc : mixed

Type

mixed

Methods

__construct()

__construct(mixed  $proc, mixed  $streamStdInput, mixed  $streamStdOutput, mixed  $streamStdError) : mixed

Parameters

mixed $proc
mixed $streamStdInput
mixed $streamStdOutput
mixed $streamStdError

Returns

mixed —

close()

close() : void

input()

input(string|array  $content) : bool

Parameters

string|array $content

Returns

bool —

write()

write(string  $content) : bool

Parameters

string $content

Returns

bool —

getStatus()

getStatus(string  $key) : mixed

Parameters

string $key

Returns

mixed —

inputEot()

inputEot() : void

inputSignal()

inputSignal(int  $signalCode) : bool

Parameters

int $signalCode

Returns

bool —

__destruct()

__destruct() : mixed

Returns

mixed —