public class ProcessOptions
extends com.jniwrapper.util.FlagSet
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_DEFAULT_ERROR_MODE |
static int |
CREATE_FORCEDOS |
static int |
CREATE_NEW_CONSOLE |
static int |
CREATE_NEW_PROCESS_GROUP |
static int |
CREATE_NO_WINDOW |
static int |
CREATE_SHARED_WOW_VDM |
static int |
CREATE_SUSPENDED |
static int |
CREATE_UNICODE_ENVIRONMENT |
static int |
SYNCHRONIZE |
Constructor and Description |
---|
ProcessOptions() |
ProcessOptions(boolean createDefault) |
ProcessOptions(long flags) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDefaultErrorMode()
The new process does not inherit the error mode of the calling process.
|
boolean |
isNewConsole()
The new process has a new console, instead of inheriting its parent's
console (the default).
|
boolean |
isNewProcessGroup()
The new process is the root process of a new process group.
|
boolean |
isNoWindow()
This flag is valid only when starting a console application.
|
boolean |
isSharedWOW_VDM()
The flag is valid only when starting a 16-bit Windows-based application.
|
boolean |
isSuspended()
The primary thread of the new process is created in a suspended state.
|
boolean |
isSynchronize()
Requires to wait for the process to terminate using the wait functions.
|
boolean |
isUnicodeEnvironment()
Indicates the format of the Environment parameter.
|
void |
setDefaultErrorMode(boolean value)
The new process does not inherit the error mode of the calling process.
|
void |
setNewConsole(boolean value)
The new process has a new console, instead of inheriting its parent's
console (the default).
|
void |
setNewProcessGroup(boolean value)
The new process is the root process of a new process group.
|
void |
setNoWindow(boolean value)
This flag is valid only when starting a console application.
|
void |
setSharedWOW_VDM(boolean value)
The flag is valid only when starting a 16-bit Windows-based application.
|
void |
setSuspended(boolean value)
The primary thread of the new process is created in a suspended state.
|
void |
setSynchronize(boolean value)
Requires to wait for the process to terminate using the wait functions.
|
void |
setUnicodeEnvironment(boolean value)
Indicates the format of the Environment parameter.
|
public static final int CREATE_NO_WINDOW
public static final int CREATE_DEFAULT_ERROR_MODE
public static final int CREATE_NEW_CONSOLE
public static final int CREATE_NEW_PROCESS_GROUP
public static final int CREATE_SHARED_WOW_VDM
public static final int CREATE_SUSPENDED
public static final int CREATE_UNICODE_ENVIRONMENT
public static final int CREATE_FORCEDOS
public static final int SYNCHRONIZE
public ProcessOptions()
public ProcessOptions(long flags)
public ProcessOptions(boolean createDefault)
public void setNoWindow(boolean value)
public boolean isNoWindow()
public void setDefaultErrorMode(boolean value)
public boolean isDefaultErrorMode()
public void setNewConsole(boolean value)
public boolean isNewConsole()
public void setNewProcessGroup(boolean value)
public boolean isNewProcessGroup()
public void setSharedWOW_VDM(boolean value)
public boolean isSharedWOW_VDM()
public void setSuspended(boolean value)
public boolean isSuspended()
public void setUnicodeEnvironment(boolean value)
public boolean isUnicodeEnvironment()
public void setSynchronize(boolean value)
public boolean isSynchronize()