Methods summary
public
|
|
public
|
#
addArgument( string $arg )
Parameters
Api
Implementation of
|
public
DisposableInterface;
|
#
dispose( )
Returns
DisposableInterface;
Implementation of
|
public
Nethgui\System\ProcessInterface
|
#
exec( )
Execute the command
Returns
Api
Implementation of
|
public
mixed
|
#
getExitCode( )
The exit status code
Returns
mixed The process exit code (integer) or FALSE if the process has not exited yet.
Api
Implementation of
|
public
string
|
#
getIdentifier( )
Obtain the process identifier.
Obtain the process identifier.
If the identifier has not been set this method returns a random string
Returns
string The process unique identifier
Api
Implementation of
|
public
string
|
#
getOutput( )
The command output
Returns
string
Api
Implementation of
|
public
array
|
#
getOutputArray( )
The lines of the command output
The lines of the command output
Returns
array
Api
Implementation of
|
public
array
|
#
getTimes( )
Returns
array Timing informations
Api
Implementation of
|
public
boolean
|
|
public
false
|
#
kill( )
Kills a RUNNING command
Returns
false on error, TRUE if the command was RUNNING
Api
Implementation of
|
public
integer
|
#
readExecutionState( )
Read and returns the execution state, one of NEW, RUNNING, EXITED
Read and returns the execution state, one of NEW, RUNNING, EXITED
Returns
integer
Api
Implementation of
|
public
string|boolean
|
#
readOutput( )
Peek the running process output
Peek the running process output
Returns
string|boolean An output chunk, if more data is available, FALSE otherwise.
Api
Implementation of
|
public
Nethgui\System\ProcessInterface
|
#
setIdentifier( string $identifier )
Give an identity to the process object to retrieve it later.
Give an identity to the process object to retrieve it later.
Parameters
- $identifier
- identifier of the process
Returns
Api
Implementation of
|
public
|
|