7 public static const int Default = 0,
60 public int read(
byte [] buffer,
int pos,
int length);
69 public int write(
byte [] buffer,
int pos,
int length);
81 public bool exit(
int exitCode);
102 public void raise(
int sig);
111 public int readError(
byte [] buffer,
int pos,
int length);
setWorkDirectory(String dir)
设置进程工作目录
static const int RedirectStdErr
bool waitFor(int millis)
等待进程退出
Process(String command, String [] args)
构造
int write(byte [] buffer, int pos, int length)
写入标准输入数据
bool create(int flags)
创建进程
bool exit(int exitCode)
退出 (SIGKILL)
static const int NewConsole
Process(String command)
构造
int read(byte [] buffer, int pos, int length)
读取标准输出数据
static long getId()
获取当前进程ID
int readError(byte [] buffer, int pos, int length)
读取错误输出数据