public class Executor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Executor.ProcessStreamReaderRunnable |
static class |
Executor.ReturnCodeNotZeroException |
| Constructor and Description |
|---|
Executor() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
run(Object command,
File currentDirectoryOrNull) |
static void |
run(String command) |
static void |
run(String[] command) |
static void |
run(String[] command,
File currentDirectoryOrNull) |
static void |
run(String command,
File currentDirectoryOrNull) |
protected static void run(Object command, File currentDirectoryOrNull)
command - can be String or String[]currentDirectoryOrNull - if not null, what should the 'current directory' of the new process be?public static void run(String[] command)
public static void run(String command)
Copyright © 2003–2018. All rights reserved.