Process
Less than 1 minute
Process
Properties
application
public Application $application
id
public string $id
tag
public string $tag
procStatus
public array $procStatus = array (
'pid' => -1,
'running' => false,
)
pid
protected int $pid = -1
exitcode
protected int $exitcode = -1
pipes
protected array $pipes
log
protected Logger $log
process
protected mixed $process
main
protected Main $main
processIDs
private array $processIDs
Methods
__construct
public __construct(Logger $log): void
Parameters
Parameter | Type | Description |
---|---|---|
$log | Logger |
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
process
public process(): self
write
protected write(string $packet): bool
Parameters
Parameter | Type | Description |
---|---|---|
$packet | string |
getProcessID
protected getProcessID(): string
Generated by Hazaar API Doc Generator on Wed, 25 Jun 2025 06:07:12 +0000