Script

Source:

Methods

getRunStdErr()

Gets the standard error of the last command line or script running.
Source:
Returns:
The last standard error message.

getRunStdOut()

Gets the standard output of the last command line or script running.
Source:
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:
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: