Skip to content

Process ​

final class · pocketmine\utils\Process · source

Methods ​

execute() ​

php
public static function execute(string $command, ?string &$stdout = null, ?string &$stderr = null) : int

getAdvancedMemoryUsage() ​

php
public static function getAdvancedMemoryUsage()

getMemoryUsage() ​

php
public static function getMemoryUsage() : int

getRealMemoryUsage() ​

php
public static function getRealMemoryUsage() : array

getThreadCount() ​

php
public static function getThreadCount() : int

kill() ​

php
public static function kill(int $pid, bool $subprocesses = false) : void

pid() ​

php
public static function pid() : int

uid() ​

php
public static function uid() : int

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.