public interface ExecService extends AppContextService<ExecService>
| Modifier and Type | Method and Description |
|---|---|
DeferredProcessProxy |
exec_deferred(byte[] input,
java.lang.String command)
Make a
DeferredProcessProxy to be run later. |
ProcessProxy |
exec(long timeout_milliseconds,
java.lang.String command)
Run a external command (waiting for it to complete)
|
ProcessProxy |
exec(java.lang.String input,
long timeout_milliseconds,
java.lang.String command)
Run a external command with supplied input (waiting for it to complete)
|
getTypecleanupProcessProxy exec(long timeout_milliseconds, java.lang.String command) throws java.lang.Exception
timeout_milliseconds - command - ProcessProxyjava.io.IOExceptionjava.lang.InterruptedExceptionjava.lang.ExceptionProcessProxy exec(java.lang.String input, long timeout_milliseconds, java.lang.String command) throws java.lang.Exception
input - timeout_milliseconds - command - ProcessProxyjava.io.IOExceptionjava.lang.InterruptedExceptionjava.lang.ExceptionDeferredProcessProxy exec_deferred(byte[] input, java.lang.String command) throws java.lang.Exception
DeferredProcessProxy to be run later.input - command - java.lang.Exception