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

ProcStartInfoExtensions Module

An extension to process start info type

Type extensions

Type extension Description

this.WithArguments

Full Usage: this.WithArguments

Parameters:
    args : string

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

args : string
Returns: ProcStartInfo

this.WithCreateNoWindow

Full Usage: this.WithCreateNoWindow

Parameters:
    noWindow : bool

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

noWindow : bool
Returns: ProcStartInfo

this.WithCurrentEnvironmentVariables

Full Usage: this.WithCurrentEnvironmentVariables

Parameters:
    () : unit

Returns: ProcStartInfo

Sets the current environment variables.

Extended Type: ProcStartInfo

() : unit
Returns: ProcStartInfo

this.WithDomain

Full Usage: this.WithDomain

Parameters:
    domain : string

Returns: ProcStartInfo

Gets or sets a value that identifies the domain to use when starting the process.

Extended Type: ProcStartInfo

domain : string
Returns: ProcStartInfo

this.WithEnvironmentVariable

Full Usage: this.WithEnvironmentVariable

Parameters:
    envKey : string
    envVar : string

Returns: ProcStartInfo

Sets the given environment variable for the given startInfo.

Extended Type: ProcStartInfo

envKey : string
envVar : string
Returns: ProcStartInfo

this.WithEnvironmentVariables

Full Usage: this.WithEnvironmentVariables

Parameters:
    vars : seq<string * string>

Returns: ProcStartInfo

Gets or sets a value that identifies the domain to use when starting the process.

Extended Type: ProcStartInfo

vars : seq<string * string>
Returns: ProcStartInfo

this.WithFileName

Full Usage: this.WithFileName

Parameters:
    name : string

Returns: ProcStartInfo

Gets or sets the application or document to start.

Extended Type: ProcStartInfo

name : string
Returns: ProcStartInfo

this.WithLoadUserProfile

Full Usage: this.WithLoadUserProfile

Parameters:
    userProfile : bool

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

userProfile : bool
Returns: ProcStartInfo

this.WithPassword

Full Usage: this.WithPassword

Parameters:
    password : string

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

password : string
Returns: ProcStartInfo

this.WithRedirectStandardError

Full Usage: this.WithRedirectStandardError

Parameters:
    redirectStdErr : bool

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

redirectStdErr : bool
Returns: ProcStartInfo

this.WithRedirectStandardInput

Full Usage: this.WithRedirectStandardInput

Parameters:
    redirectStdInput : bool

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

redirectStdInput : bool
Returns: ProcStartInfo

this.WithRedirectStandardOutput

Full Usage: this.WithRedirectStandardOutput

Parameters:
    redirectStdOutput : bool

Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

redirectStdOutput : bool
Returns: ProcStartInfo

this.WithRemovedEnvironmentVariable

Full Usage: this.WithRemovedEnvironmentVariable

Parameters:
    envKey : string

Returns: ProcStartInfo

Unsets the given environment variable for the given startInfo.

Extended Type: ProcStartInfo

envKey : string
Returns: ProcStartInfo

this.WithStandardErrorEncoding

Full Usage: this.WithStandardErrorEncoding

Parameters:
Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

encoding : Encoding
Returns: ProcStartInfo

this.WithStandardOutputEncoding

Full Usage: this.WithStandardOutputEncoding

Parameters:
Returns: ProcStartInfo

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

Extended Type: ProcStartInfo

encoding : Encoding
Returns: ProcStartInfo

this.WithUseShellExecute

Full Usage: this.WithUseShellExecute

Parameters:
    shellExec : bool

Returns: ProcStartInfo

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.

Extended Type: ProcStartInfo

shellExec : bool
Returns: ProcStartInfo

this.WithUserName

Full Usage: this.WithUserName

Parameters:
    name : string

Returns: ProcStartInfo

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.

Extended Type: ProcStartInfo

name : string
Returns: ProcStartInfo

this.WithWorkingDirectory

Full Usage: this.WithWorkingDirectory

Parameters:
    dir : string

Returns: ProcStartInfo

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 ("").

Extended Type: ProcStartInfo

dir : string
Returns: ProcStartInfo

this.WithoutEnvironment

Full Usage: this.WithoutEnvironment

Parameters:
    () : unit

Returns: ProcStartInfo

Remove the current Environment Variables and use the default

Extended Type: ProcStartInfo

() : unit
Returns: ProcStartInfo