Index

ShellResult

MMO\core\server · 1 symbol · generated 5 Oct 2026

class

ShellResult

ShellRunner.php:11

The outcome of one command: stdout, stderr and -- crucially -- a real exit code.

final class MMO\core\server\ShellResult
Namespace
MMO\core\server
See
ShellRunner::run

Properties5

code

readonly
readonly int $code
Type
int

command

readonly
readonly string $command
Type
string

err

readonly
readonly string $err
Type
string

out

readonly
readonly string $out
Type
string

simulated

readonly
readonly bool $simulated
Type
bool

Methods5

__construct($command, $out, $err, $code, $simulated)

ShellRunner.php:12
function __construct( string $command, string $out, string $err, int $code, bool $simulated = false )
$commandstring
$outstring
$errstring
$codeint
$simulated = falsebool