Executes the specified external command in a separate process.
Execute the external 'ls' command with '-l' parameter and show results.
$cmd typeOf Series
$process typeof Process
$cmd.add("ls")
$cmd.add("-l")
$process = $process.exec( $cmd )
print $process/output
Send mail to specified user with specified subject and text message.
$cmd typeOf Series
$process typeof Process
$cmd.add("mailto")
$cmd.add("emailaddress")
$cmd.add("-s")
$cmd.add("Subject")
$process.setInput("This is a test message.")
$process = $process.exec( $cmd )
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getConceptsAtPath, getErrorHandler, getInheritedConcepts, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML |
|
Label: | exitValue |
Type: | String |
Is Static: | false |
Is Hidden: | false |
Show Empty: | true |
Indicates the exit value for the subprocess.
Label: | error |
Type: | String |
Is Static: | false |
Is Hidden: | false |
Is Multi: | false |
Show Empty: | true |
Indicates the error value for the subprocess.
Label: | input |
Type: | String |
Is Static: | false |
Is Hidden: | false |
Is Multi: | false |
Show Empty: | true |
Indicates the input value for the subprocess.
Label: | output |
Type: | String |
Is Static: | false |
Is Hidden: | false |
Is Multi: | false |
Show Empty: | true |
Indicates the output value for the subprocess.
Parameters: |
$cmd : | The command to execute. |
$dir : |
The working directory of the subprocess, or null if the subprocess
should inherit the working directory of the current process.
|
|
Exceptions: |
execFailed :
(Error) | If unable to execute command. |
Executes the specified command in a separate process with the specified
working directory.
Parameters: |
$cmd : | The command to execute. |
|
Exceptions: |
execFailed :
(Error) | If unable to execute command. |
Executes the command given as parameter.
Parameters: |
$cmd : | A series containing the command to call and its arguments. |
$dir : |
The working directory of the subprocess, or null if the subprocess
should inherit the working directory of the current process.
|
|
Exceptions: |
execFailed :
(Error) | If unable to execute command. |
Executes the specified command in a separate process with the specified
working directory.
Parameters: |
$cmd : | A series containing the command to call and its arguments. |
|
Exceptions: |
execFailed :
(Error) | If unable to execute command. |
Executes the command given as parameter.
Parameters: |
$value : | A string to be set. |
|
Sets the input value to the specified value.