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)
|
getType
cleanup
ProcessProxy exec(long timeout_milliseconds, java.lang.String command) throws java.lang.Exception
timeout_milliseconds
- command
- ProcessProxy
java.io.IOException
java.lang.InterruptedException
java.lang.Exception
ProcessProxy exec(java.lang.String input, long timeout_milliseconds, java.lang.String command) throws java.lang.Exception
input
- timeout_milliseconds
- command
- ProcessProxy
java.io.IOException
java.lang.InterruptedException
java.lang.Exception
DeferredProcessProxy exec_deferred(byte[] input, java.lang.String command) throws java.lang.Exception
DeferredProcessProxy
to be run later.input
- command
- java.lang.Exception