Class CommandExecutor
java.lang.Object
org.csstudio.opibuilder.widgetActions.CommandExecutor
Helper for executing a (system) command. On Unix, that could be anything in the PATH.
Several things can happen:
- Command finishes OK right away
- Command gives error right away
- Command runs for a long time, eventually giving error or OK.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CommandExecutor
Initialize- Parameters:
command
- Command to run. Format depends on OS.dir_name
- Directory where to run the commandwait
- Time to wait for completion in seconds
-