class Shell

deprecated since 2.8, to be removed in 3.0.

Constants

TYPE_UNIX

TYPE_DARWIN

TYPE_CYGWIN

TYPE_WINDOWS

TYPE_BSD

Methods

int
getType()

Returns guessed OS type.

bool
testCommand(string $command)

Tests if a command is available.

Details

at line line 39
int getType()

Returns guessed OS type.

Return Value

int

at line line 55
bool testCommand(string $command)

Tests if a command is available.

Parameters

string $command

Return Value

bool