Core\Process
Runs other programs. A program is started directly with a list of arguments, never through a shell, so an argument cannot add a second command. run waits for the program to end, and spawn returns a handle while it runs. Both need the process.exec capability.
Members
2 members.
| Member | Signature |
|---|---|
run | run(string $path, array<string> $argv, { workingDirectory?: string, env?: array<string>, timeout?: Core\Time\Duration }): Core\Process\Result |
spawn | spawn(string $path, array<string> $argv, { workingDirectory?: string, env?: array<string>, timeout?: Core\Time\Duration }): Core\Process\Handle |
