jnr.posix.util
Interface ProcessMaker
- All Known Implementing Classes:
- Java5ProcessMaker
public interface ProcessMaker
Abstract interface for building a process on various JVM versions.
command
List<String> command()
command
ProcessMaker command(List<String> command)
command
ProcessMaker command(String... command)
directory
File directory()
directory
ProcessMaker directory(File dir)
environment
Map<String,String> environment()
environment
ProcessMaker environment(String[] envLines)
inheritIO
ProcessMaker inheritIO()
redirectError
ProcessMaker.Redirect redirectError()
redirectError
ProcessMaker redirectError(File file)
redirectError
ProcessMaker redirectError(ProcessMaker.Redirect destination)
redirectErrorStream
boolean redirectErrorStream()
redirectErrorStream
ProcessMaker redirectErrorStream(boolean redirectErrorStream)
redirectInput
ProcessMaker.Redirect redirectInput()
redirectInput
ProcessMaker redirectInput(File file)
redirectInput
ProcessMaker redirectInput(ProcessMaker.Redirect source)
redirectOutput
ProcessMaker.Redirect redirectOutput()
redirectOutput
ProcessMaker redirectOutput(File file)
redirectOutput
ProcessMaker redirectOutput(ProcessMaker.Redirect destination)
start
Process start()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.