ProcessLauncher
Playwright\Transport\JsonRpc\ProcessLauncherInterface
Interface for process launchers that manage Node.js bridge processes.
Methods
start()
Processfunction start( array $command, ?string $cwd = null, array $env = [], ?float $timeout = null, ): Process
ensureRunning()
voidfunction ensureRunning(Process $process, string $phase = 'operation'): void
getStderrOutput()
stringfunction getStderrOutput(): string
clearStderrBuffer()
voidfunction clearStderrBuffer(): void
terminate()
voidfunction terminate(Process $process, float $gracePeriodSeconds = 2.0): void
waitForExit()
intfunction waitForExit(Process $process, ?float $timeoutSeconds = null): int
getInputStream()
?InputStreamfunction getInputStream(): ?InputStream