Index
All Classes and Interfaces|All Packages
C
- command - Variable in class jnr.process.ProcessBuilder
- command() - Method in class jnr.process.ProcessBuilder
-
Get a copy of the list of command line arguments that will be used to launch the child process.
- command(String...) - Method in class jnr.process.ProcessBuilder
-
Replace the command line with the given varargs array of command line arguments.
- command(List<String>) - Method in class jnr.process.ProcessBuilder
-
Replace the command line with the given list of command line arguments.
E
- env - Variable in class jnr.process.ProcessBuilder
- environment() - Method in class jnr.process.ProcessBuilder
-
Returns a string map view of this process builder's environment.
- err - Variable in class jnr.process.Process
- exitValue - Variable in class jnr.process.Process
- exitValue() - Method in class jnr.process.Process
-
Get the exit code from the child process, or raise
IllegalThreadStateException
if it has not yet terminated.
G
- getErr() - Method in class jnr.process.Process
-
Get the selectable channel for the error stream (input for parent, error output for child).
- getErrorStream() - Method in class jnr.process.Process
-
Get the stream for the error stream (input for parent, error output for child).
- getIn() - Method in class jnr.process.Process
-
Get the selectable channel for the parent's input, which is the child's output.
- getInputStream() - Method in class jnr.process.Process
-
Get the stream for the parent's input, which is the child's output.
- getOut() - Method in class jnr.process.Process
-
Get the selectable channel for the parent's output, which is the child's input.
- getOutputStream() - Method in class jnr.process.Process
-
Get the stream for the parent's output, which is the child's input.
- getPid() - Method in class jnr.process.Process
-
Get the pid of the child process.
I
J
- jnr.process - package jnr.process
K
- kill() - Method in class jnr.process.Process
-
Kill the child process with a KILL signal.
- kill(Signal) - Method in class jnr.process.Process
-
Kill the child process with the specified signal.
- killProcessGroup() - Method in class jnr.process.Process
-
Kill the child process and all its descendants with a KILL signal.
- killProcessGroup(Signal) - Method in class jnr.process.Process
-
Kill the child process and all its descendants with the specified signal.
O
P
- pid - Variable in class jnr.process.Process
- posix - Variable in class jnr.process.Process
- posix - Static variable in class jnr.process.ProcessBuilder
- Process - Class in jnr.process
-
A
Process
look-alike based on the Java Native Runtime's native FFI binding. - Process(POSIX, long, int, int, int) - Constructor for class jnr.process.Process
-
Construct a new Process instance that wraps the given pid and native IO streams.
- ProcessBuilder - Class in jnr.process
-
ProcessBuilder mimics the API of the JDK
ProcessBuilder
class, providing methods to build up and launch a child process. - ProcessBuilder(String...) - Constructor for class jnr.process.ProcessBuilder
-
Create a new ProcessBuilder instance with the given command line.
- ProcessBuilder(List<String>) - Constructor for class jnr.process.ProcessBuilder
-
Create a new ProcessBuilder instance with the given command line.
S
- start() - Method in class jnr.process.ProcessBuilder
-
Launch the subprocess and return a new
Process
instance.
W
- waitFor() - Method in class jnr.process.Process
-
Wait for the subprocess to terminate and return its exit code.
All Classes and Interfaces|All Packages