public static enum ProcessHandle.ProcessFlags extends Enum<ProcessHandle.ProcessFlags>
| Enum Constant and Description |
|---|
DETACHED
Spawn the child process in a detached state.
|
NONE |
SETGID
sets the child's execution group ID
|
SETUID
sets the child's execution user ID
|
WINDOWS_HIDE
Hide the subprocess window that would normally be created.
|
WINDOWS_HIDE_CONSOLE
Hide the subprocess console window that would normally be created.
|
WINDOWS_HIDE_GUI
Hide the subprocess GUI window that would normally be created.
|
WINDOWS_VERBATIM_ARGUMENTS
No quoting or escaping of args is done on Windows.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessHandle.ProcessFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessHandle.ProcessFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessHandle.ProcessFlags NONE
public static final ProcessHandle.ProcessFlags SETUID
public static final ProcessHandle.ProcessFlags SETGID
public static final ProcessHandle.ProcessFlags WINDOWS_VERBATIM_ARGUMENTS
public static final ProcessHandle.ProcessFlags DETACHED
This will make it a process group leader, and will effectively enable the child to keep running after the parent exits. Note that the child process will still keep the parent's event loop alive unless the parent process calls uv_unref() on the child's process handle.
public static final ProcessHandle.ProcessFlags WINDOWS_HIDE
This option is only meaningful on Windows systems. On Unix it is silently ignored.
public static final ProcessHandle.ProcessFlags WINDOWS_HIDE_CONSOLE
This option is only meaningful on Windows systems. On Unix it is silently ignored.
public static final ProcessHandle.ProcessFlags WINDOWS_HIDE_GUI
This option is only meaningful on Windows systems. On Unix it is silently ignored.
public static ProcessHandle.ProcessFlags[] values()
for (ProcessHandle.ProcessFlags c : ProcessHandle.ProcessFlags.values()) System.out.println(c);
public static ProcessHandle.ProcessFlags valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 WebFolder. All rights reserved.