public class ShellFunctions
extends java.lang.Object
Constructor and Description |
---|
ShellFunctions() |
Modifier and Type | Method and Description |
---|---|
static Function |
fork(java.io.PrintStream out,
java.io.PrintStream err,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
static Function |
fork(java.io.PrintStream out,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
static Function |
fork(java.io.PrintWriter out,
java.io.PrintWriter err,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
static Function |
fork(java.io.PrintWriter out,
java.lang.String name)
Create a function that can run an operating system command in a sub-process.
|
public static Function fork(java.io.PrintStream out, java.lang.String name)
out
- the output.name
- the function name.public static Function fork(java.io.PrintStream out, java.io.PrintStream err, java.lang.String name)
out
- the standard output.err
- the error output.name
- the function name.public static Function fork(java.io.PrintWriter out, java.lang.String name)
out
- the output.name
- the function name.public static Function fork(java.io.PrintWriter out, java.io.PrintWriter err, java.lang.String name)
out
- the standard output.err
- the error output.name
- the function name.