进程类
更多...
◆ Process() [1/4]
◆ Process() [2/4]
◆ Process() [3/4]
◆ Process() [4/4]
◆ create() [1/2]
创建进程
- 参数
-
visible | 创建的进程是否可见 |
stdread | 是否接替标准输入 |
stdwrite | 是否接替标准输出 |
newConsole | 是否为控制台程序创建窗口 |
- 返回
- 成功或者失败 @Exception IllegalArgumentException 参数异常 详细信息见message
◆ create() [2/2]
◆ CurrentProcessId()
static final long CurrentProcessId |
( |
| ) |
|
|
static |
◆ exit() [1/2]
bool exit |
( |
int |
exitCode | ) |
|
◆ exit() [2/2]
◆ finalize()
◆ getExitCode() [1/2]
◆ getExitCode() [2/2]
◆ getId()
◆ id() [1/2]
◆ id() [2/2]
◆ raise() [1/2]
◆ raise() [2/2]
◆ read() [1/2]
int read |
( |
byte [] |
buffer, |
|
|
int |
pos, |
|
|
int |
length |
|
) |
| |
◆ read() [2/2]
◆ readError() [1/2]
int readError |
( |
byte [] |
buffer, |
|
|
int |
pos, |
|
|
int |
length |
|
) |
| |
◆ readError() [2/2]
◆ setWorkDirectory() [1/2]
setWorkDirectory |
( |
String |
dir | ) |
|
◆ setWorkDirectory() [2/2]
◆ waitFor() [1/2]
bool waitFor |
( |
int |
millis | ) |
|
◆ waitFor() [2/2]
◆ write() [1/2]
int write |
( |
byte [] |
buffer, |
|
|
int |
pos, |
|
|
int |
length |
|
) |
| |
◆ write() [2/2]
◆ Default
static const int Default = 0 |
|
staticpackage |
◆ NewConsole
static const int NewConsole = 0x20 |
|
staticpackage |
◆ RedirectStdErr
static const int RedirectStdErr = 0x10 |
|
staticpackage |
◆ StdErr
static const int StdErr = 8 |
|
staticpackage |
◆ StdIn
static const int StdIn = 4 |
|
staticpackage |
◆ StdOut
static const int StdOut = 2 |
|
staticpackage |
◆ Visible
static const int Visible = 1 |
|
staticpackage |