Package jnr.posix.util
Interface ProcessMaker
-
- All Known Implementing Classes:
Java5ProcessMaker
public interface ProcessMaker
Abstract interface for building a process on various JVM versions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ProcessMaker.Redirect
-
Method Summary
-
-
-
Method Detail
-
command
java.util.List<java.lang.String> command()
-
command
ProcessMaker command(java.util.List<java.lang.String> command)
-
command
ProcessMaker command(java.lang.String... command)
-
directory
java.io.File directory()
-
directory
ProcessMaker directory(java.io.File dir)
-
environment
java.util.Map<java.lang.String,java.lang.String> environment()
-
environment
ProcessMaker environment(java.lang.String[] envLines)
-
inheritIO
ProcessMaker inheritIO()
-
redirectError
ProcessMaker.Redirect redirectError()
-
redirectError
ProcessMaker redirectError(java.io.File file)
-
redirectError
ProcessMaker redirectError(ProcessMaker.Redirect destination)
-
redirectErrorStream
boolean redirectErrorStream()
-
redirectErrorStream
ProcessMaker redirectErrorStream(boolean redirectErrorStream)
-
redirectInput
ProcessMaker.Redirect redirectInput()
-
redirectInput
ProcessMaker redirectInput(java.io.File file)
-
redirectInput
ProcessMaker redirectInput(ProcessMaker.Redirect source)
-
redirectOutput
ProcessMaker.Redirect redirectOutput()
-
redirectOutput
ProcessMaker redirectOutput(java.io.File file)
-
redirectOutput
ProcessMaker redirectOutput(ProcessMaker.Redirect destination)
-
start
java.lang.Process start() throws java.io.IOException
- Throws:
java.io.IOException
-
-