CommandLineExec
org.sdm.spa.CommandLineExec

Given a command string, the CommandLineExec actor executes it using the java Runtime class.

SUPPORTED COMMAND TYPES:

Example commands:



Author(s): Ilkay Altintas, Christopher Hylands Brooks, Bilsay Yildirim, Contributor: Edward A. Lee
Version:$Id: CommandLineExec.java,v 1.6 2006/04/20 19:07:28 altintas Exp $


arguments
The arguments to the command. Implemented as a multi/input port to support more than one argument. It concatanates the inputs in all the channels.
If there is an input file, this port can be empty.

inputStream
Strings to pass to the standard input of the subprocess. This port is an input port of type String.

infileHandle
This is an optional port. Used if the file accepts an input file instead of a list of arguments.

trigger
The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.

outfileHandle
A string that forwards the outputFile parameter if it exists.

output
The result stream of the command.

exitCode
Exit code will be 1 if the command executes successfully.



hide
The attribute to hide or show the trigger port without deleting it.

command
The command to execute.

outputFile
Needs to be filled in if the user wants the command to output to a file.

outputLineByLine
If selected, broadcasts the output of the command line by line.

hasTrigger
Unhide the trigger port when this parameter is true. This Parameter is type of boolean.