- Source:
- API-4.1.js, line 14
Methods
getRunStdErr()
Gets the standard error of the last command line or script running.
- Source:
- API-4.1.js, line 4563
Returns:
The last standard error message.
getRunStdOut()
Gets the standard output of the last command line or script running.
- Source:
- API-4.1.js, line 4548
Returns:
The last standard output message.
runCommandLine(commandline)
Runs an Operating System command line.
To get standard output and standard error, use getRunStdOut() and getRunStdErr() functions.
Parameters:
Name | Type | Description |
---|---|---|
commandline |
string | Command line to execute, base 64 encoded. |
- Source:
- API-4.1.js, line 4534
Throws:
If the command line is null or empty.
Example
runCommandLine("mspaint");
runScript(scriptCode)
Runs an ironPython script in the TIBCO Spotfire Client.
To get standard output and standard error, use getRunStdOut() and getRunStdErr() functions.
Parameters:
Name | Type | Description |
---|---|---|
scriptCode |
string | The script body in ironPython, base 64 encoded. |
- Source:
- API-4.1.js, line 4510