Process
Less than 1 minute
Process
Properties
public $
pid
protected int $pid = -1
exitcode
protected int $exitcode = -1
id
public string $id
tag
public string $tag
pipes
protected array $pipes
log
protected Logger $log
procStatus
public array $procStatus = array (
'pid' => -1,
'running' => false,
)
process
protected mixed $process
processIDs
private array $processIDs
Methods
isRunning
public isRunning(): bool
getReadPipe
public getReadPipe(): mixed
getWritePipe
public getWritePipe(): mixed
readErrorPipe
public readErrorPipe(): string
close
public close(): int
terminate
public terminate(): bool
start
Starts the server process.
public start(): void
write
protected write(string $packet): bool
Parameters
Parameter | Type | Description |
---|---|---|
$packet | string |
getProcessID
protected getProcessID(): string
constructed
protected constructed(): void
Generated by Hazaar API Doc Generator