FAKE - F# Make - A DSL for build tasks and more FAKE
6.0.0

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

ProcStartInfo Type

The process start info, a type used to define a process configurations, options and arguments

Record fields

Record Field Description

Arguments

Full Usage: Arguments

Field type: string

Gets or sets the set of command-line arguments to use when starting the application.

Field type: string

CreateNoWindow

Full Usage: CreateNoWindow

Field type: bool

Gets or sets a value indicating whether to start the process in a new window.

Field type: bool

Domain

Full Usage: Domain

Field type: string

Gets or sets a value that identifies the domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.

Field type: string

Environment

Full Usage: Environment

Field type: Map<string, string>

Gets the environment variables that apply to this process and its child processes. NOTE: Recommendation is to not use this Field, but instead use the helper function in the Proc module (for example Process.setEnvironmentVariable) NOTE: This field is ignored when UseShellExecute is true.

Field type: Map<string, string>

FileName

Full Usage: FileName

Field type: string

Gets or sets the application or document to start.

Field type: string

LoadUserProfile

Full Usage: LoadUserProfile

Field type: bool

true if the Windows user profile should be loaded; otherwise, false. The default is false.

Field type: bool

Password

Full Usage: Password

Field type: string

Gets or sets the user password in clear text to use when starting the process.

Field type: string

RedirectStandardError

Full Usage: RedirectStandardError

Field type: bool

true if error output should be written to Process.StandardError; otherwise, false. The default is false.

Field type: bool

RedirectStandardInput

Full Usage: RedirectStandardInput

Field type: bool

true if input should be read from Process.StandardInput; otherwise, false. The default is false.

Field type: bool

RedirectStandardOutput

Full Usage: RedirectStandardOutput

Field type: bool

true if output should be written to Process.StandardOutput; otherwise, false. The default is false.

Field type: bool

StandardErrorEncoding

Full Usage: StandardErrorEncoding

Field type: Encoding

An object that represents the preferred encoding for error output. The default is null.

Field type: Encoding

StandardOutputEncoding

Full Usage: StandardOutputEncoding

Field type: Encoding

An object that represents the preferred encoding for standard output. The default is null.

Field type: Encoding

UseShellExecute

Full Usage: UseShellExecute

Field type: bool

true if the shell should be used when starting the process; false if the process should be created directly from the executable file. The default is true.

Field type: bool

UserName

Full Usage: UserName

Field type: string

The user name to use when starting the process. If you use the UPN format, user@DNS_domain_name, the Domain property must be null.

Field type: string

WorkingDirectory

Full Usage: WorkingDirectory

Field type: string

When UseShellExecute is true, the fully qualified name of the directory that contains the process to be started. When the UseShellExecute property is false, the working directory for the process to be started. The default is an empty string ("").

Field type: string

Instance members

Instance member Description

this.AsStartInfo

Full Usage: this.AsStartInfo

Returns: ProcessStartInfo
Returns: ProcessStartInfo

this.WithEnvironment

Full Usage: this.WithEnvironment

Parameters:
    map : Map<string, string>

Returns: ProcStartInfo

Sets the current environment variables.

map : Map<string, string>
Returns: ProcStartInfo

Static members

Static member Description

ProcStartInfo.Create()

Full Usage: ProcStartInfo.Create()

Returns: ProcStartInfo
Returns: ProcStartInfo