Show / Hide Table of Contents

Enum ProcessOptions

A set of options that controls how a new process is created.

Namespace: Fs.Processes
Assembly: Fs.Processes.dll
Syntax
[Flags]
public enum ProcessOptions

Fields

Name Description
BreakawayFromJob

The child processes of a process associated with a job are not associated with the job.

Debug

The calling thread starts and debugs the new process and all child processes created by the new process. If combined with DebugOnlyThisProcess the caller debugs only the new process, not any child processes.

DebugOnlyThisProcess

The calling thread starts and debugs the new process. Child processes of the new process are not automatically attached.

DefaultErrorMode

The new process does not inherit the error mode of the calling process. Instead, the new process gets the default error mode.

Detached

For console processes, the new process does not inherits it parent's console.

InheritParentAffinity

The process inherits it parent's affinity.

NewConsole

The new process has a new console, instead of inheriting its parent's console. This flag cannot be used with Detached.

NewProcessGroup

Thew new process is the root process of a new process group. This flag is ignored if specified with NewConsole.

None

Default option

NoWindow

The process is a console application that is being run without a console window. The console handle for the new process is not set. This flag is ignored if used with either NewConsole or Detached.

PreserveCodeAuthzLevel

Execute a child process that bypasses the process restrictions that would normally be applied automatically to the process.

Suspended

The primary thread of the new process is created in a suspended state and does not run until the thread is resumed.

Extension Methods

ProcessOptionsExtensions.IsValid()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX