public class ProcessHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProcessHelper.CommandResult |
Constructor and Description |
---|
ProcessHelper(String... args) |
Modifier and Type | Method and Description |
---|---|
String |
getInput() |
protected void |
info(String msg) |
boolean |
isInheritIO() |
boolean |
isShowDotsWhileWaiting() |
ProcessHelper.CommandResult |
run() |
static ProcessHelper.CommandResult |
run(String... args) |
ProcessHelper |
setInheritIO(boolean inheritIO) |
ProcessHelper |
setInput(String input) |
ProcessHelper |
setShowDotsWhileWaiting(boolean showDotsWhileWaiting) |
ProcessHelper |
withDirectory(String directory) |
public ProcessHelper(String... args)
public static ProcessHelper.CommandResult run(String... args)
public ProcessHelper withDirectory(String directory)
public ProcessHelper.CommandResult run()
public ProcessHelper setInput(String input)
public boolean isInheritIO()
public ProcessHelper setInheritIO(boolean inheritIO)
public boolean isShowDotsWhileWaiting()
public ProcessHelper setShowDotsWhileWaiting(boolean showDotsWhileWaiting)
Copyright © 2016. All rights reserved.