Class ShellUtil
java.lang.Object
com.eco.bio7.console.ShellUtil
A shell utility class which opens a terminal and starts a process with
arguments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidA method to close the current process.voidcloseProcess(HashMap<String, Object> properties) A method to close the current process.voidexecShellCommand(String title, String processPath, String processArgs) A method to execute shell commands.voidexecShellCommand(HashMap<String, Object> properties) A method to execute shell commandsvoidA method to terminate the current process.voidterminateProcess(HashMap<String, Object> properties) A method to terminate the current process.
-
Constructor Details
-
ShellUtil
public ShellUtil()
-
-
Method Details
-
execShellCommand
-
execShellCommand
-
terminateProcess
public void terminateProcess()A method to terminate the current process. -
terminateProcess
-
closeProcess
public void closeProcess()A method to close the current process. -
closeProcess
-