public interface Process
| Modifier and Type | Interface and Description |
|---|---|
static class |
Process.Utils |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
err() |
void |
error(int error)
Set the error code for the currently running pipe.
|
InputStream |
in() |
boolean |
isTty(int fd)
Check if the given descriptor for the currently running pipe is the terminal or not.
|
Job |
job()
Get the job controlling this process
|
PrintStream |
out() |
InputStream in()
PrintStream out()
PrintStream err()
Job job()
boolean isTty(int fd)
fd - the fdvoid error(int error)
error - the errorCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.