public class CmdUtility extends Object
| Constructor and Description |
|---|
CmdUtility() |
| Modifier and Type | Method and Description |
|---|---|
static int |
exec(Writer writer,
String... command)
Executes the specified string command in a separate process.
|
public static int exec(Writer writer, String... command) throws IOException
writer ( Writer) argument.writer - stdout and stderr outputcommand - a specified system commandIOExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.