Shell

Shell

class Shell

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

int getType()

Returns guessed OS type.

Return Value

int

登录查看完整内容