Property | Type | Description | |
---|---|---|---|
$node | |||
$runtimeTask |
Method | Description | |
---|---|---|
__construct ( $runtimeTask, $node ) | ||
get ( $remote, $local ) | ||
getLocalInfoPrefix ( ) | ||
getNode ( ) | ||
getNodeName ( ) | ||
getRemoteInfoPrefix ( ) | ||
getRuntimeTask ( ) | ||
getString ( $remote ) | ||
put ( $local, $remote ) | ||
putString ( $remote, $contents ) | ||
run ( string $commandline, array $options = [] ) : |
Runing a command on remote server. | |
runLocally ( string $commandline, array $options = [] ) : |
Running a command on local machine. |
Method | Description | |
---|---|---|
compileRealCommand ( $commandline, $options, $isLocalExecute = FALSE ) | ||
getPid ( ) | ||
getSFTP ( ) | ||
getSSH ( ) |
protected compileRealCommand ( $commandline, $options, $isLocalExecute = FALSE ) |
public runLocally ( string $commandline, array $options = [] ) : |
||
$commandline | string | |
$options | array | |
return |