Definition at line 45 of file Process.php.
◆ execute()
static pocketmine\utils\Process::execute |
( |
string | $command, |
|
|
?string & | $stdout = null, |
|
|
?string & | $stderr = null ) |
|
static |
- Parameters
-
string | $command | Command to execute |
string | null | $stdout | Reference parameter to write stdout to |
string | null | $stderr | Reference parameter to write stderr to @phpstan-param-out string $stdout @phpstan-param-out string $stderr |
- Returns
- int process exit code
Definition at line 163 of file Process.php.
Referenced by pocketmine\utils\Git\getRepositoryState().
◆ getAdvancedMemoryUsage()
static pocketmine\utils\Process::getAdvancedMemoryUsage |
( |
| ) |
|
|
static |
◆ getMemoryUsage()
static pocketmine\utils\Process::getMemoryUsage |
( |
| ) |
|
|
static |
◆ getRealMemoryUsage()
static pocketmine\utils\Process::getRealMemoryUsage |
( |
| ) |
|
|
static |
◆ getThreadCount()
static pocketmine\utils\Process::getThreadCount |
( |
| ) |
|
|
static |
◆ kill()
static pocketmine\utils\Process::kill |
( |
int | $pid, |
|
|
bool | $subprocesses = false ) |
|
static |
◆ pid()
static pocketmine\utils\Process::pid |
( |
| ) |
|
|
static |
◆ uid()
static pocketmine\utils\Process::uid |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: