public class Process extends Object
| Constructor and Description |
|---|
Process(jnr.posix.POSIX posix,
long pid,
int out,
int in,
int err) |
| Modifier and Type | Method and Description |
|---|---|
long |
exitValue() |
SelectableChannel |
getErr() |
InputStream |
getErrorStream() |
SelectableChannel |
getIn() |
InputStream |
getInputStream() |
SelectableChannel |
getOut() |
OutputStream |
getOutputStream() |
long |
getPid() |
int |
kill() |
int |
kill(jnr.constants.platform.Signal sig) |
int |
killProcessGroup() |
int |
killProcessGroup(jnr.constants.platform.Signal sig) |
long |
waitFor() |
public Process(jnr.posix.POSIX posix,
long pid,
int out,
int in,
int err)
public long getPid()
public SelectableChannel getOut()
public OutputStream getOutputStream()
public SelectableChannel getIn()
public InputStream getInputStream()
public SelectableChannel getErr()
public InputStream getErrorStream()
public long waitFor()
public int kill()
public int kill(jnr.constants.platform.Signal sig)
public int killProcessGroup()
public int killProcessGroup(jnr.constants.platform.Signal sig)
public long exitValue()
Copyright © 2016. All rights reserved.