public interface ProcessMaker
Modifier and Type | Interface and Description |
---|---|
static class |
ProcessMaker.Redirect |
Modifier and Type | Method and Description |
---|---|
List<String> |
command() |
ProcessMaker |
command(List<String> command) |
ProcessMaker |
command(String... command) |
File |
directory() |
ProcessMaker |
directory(File dir) |
Map<String,String> |
environment() |
ProcessMaker |
environment(String[] envLines) |
ProcessMaker |
inheritIO() |
ProcessMaker.Redirect |
redirectError() |
ProcessMaker |
redirectError(File file) |
ProcessMaker |
redirectError(ProcessMaker.Redirect destination) |
boolean |
redirectErrorStream() |
ProcessMaker |
redirectErrorStream(boolean redirectErrorStream) |
ProcessMaker.Redirect |
redirectInput() |
ProcessMaker |
redirectInput(File file) |
ProcessMaker |
redirectInput(ProcessMaker.Redirect source) |
ProcessMaker.Redirect |
redirectOutput() |
ProcessMaker |
redirectOutput(File file) |
ProcessMaker |
redirectOutput(ProcessMaker.Redirect destination) |
Process |
start() |
ProcessMaker command(List<String> command)
ProcessMaker command(String... command)
File directory()
ProcessMaker directory(File dir)
ProcessMaker environment(String[] envLines)
ProcessMaker inheritIO()
ProcessMaker.Redirect redirectError()
ProcessMaker redirectError(File file)
ProcessMaker redirectError(ProcessMaker.Redirect destination)
boolean redirectErrorStream()
ProcessMaker redirectErrorStream(boolean redirectErrorStream)
ProcessMaker.Redirect redirectInput()
ProcessMaker redirectInput(File file)
ProcessMaker redirectInput(ProcessMaker.Redirect source)
ProcessMaker.Redirect redirectOutput()
ProcessMaker redirectOutput(File file)
ProcessMaker redirectOutput(ProcessMaker.Redirect destination)
Process start() throws IOException
IOException
Copyright © 2015. All Rights Reserved.