Class ExternalProcess
Launches tasks on a shell on another host (via secure connection).
Direct known subclasses
Methods summary
public
|
#
__construct( string $host, string $huscript_path, string $logfileName, string $errfileName )
ExternalProcess constructor. |
public
|
|
public
boolean
|
#
existsHuygensProcess( integer $pid )
Checks whether an Huygens Process with given Process IDentifier exists. |
public
boolean
|
#
isHuygensProcessSleeping( integer $pid )
Checks whether the Huygens Process with given Process IDentifier is sleeping. |
public
|
|
public
boolean
|
|
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
integer
|
#
runHuygensTemplate( string $templateName )
Runs the Huygens template with a given name in the shell. |
public
|
|
public
boolean
|
#
killHucoreProcess( integer $pid )
Kill the Huygens process with the given Process IDentifier and its child, if it exists. |
public
boolean
|
Properties summary
public
integer
|
$pid
OS Identifier for the Process |
|
public
string
|
$host
Host on which the process will be started. |
|
public
string
|
$huscript_path
HuCore full executable path on host. |
|
public
array
|
$pipes
Pipes for communication with the process. |
|
public
resource
|
$shell
The shell process resource. |
|
public
string
|
$logfileName
Name of the process log (relative to the global $logdir) |
|
public
string
|
$errfileName
Name of the process error log (relative to the global $logdir) |
|
public
resource
|
$out_file
Handle for the output file. |
|
public
array
|
$descriptorSpec
File descriptors to open in the shell. |