Package com.yahoo.system
Class ProcessExecuter
java.lang.Object
com.yahoo.system.ProcessExecuter
Executes a system command synchronously.
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProcessExecuter
public ProcessExecuter(boolean override_log_control) -
ProcessExecuter
public ProcessExecuter()
-
-
Method Details
-
exec
Executes the given command synchronously without timeout.- Returns:
- retcode and stdout/stderr merged
- Throws:
IOException
-
exec
Executes the given command synchronously without timeout.- Parameters:
command
- tokens- Returns:
- Retcode and stdout/stderr merged
- Throws:
IOException
-