FAKE - F# Make


Shell

Allows to exec shell operations synchronously and asynchronously.

Constructors

ConstructorDescription
new()
Signature: unit -> Shell

Static members

Static memberDescription
AsyncExec(cmd, args, dir)
Signature: (cmd:string * args:string option * dir:string option) -> Async<int>

Runs the given process asynchronously.

Parameters

  • cmd - The command which should be run in elavated context.
  • args - The process arguments (optional).
  • directory - The working directory (optional).
Exec(cmd, args, dir)
Signature: (cmd:string * args:string option * dir:string option) -> int

Runs the given process, waits for it's completion and returns the exit code.

Parameters

  • cmd - The command which should be run in elavated context.
  • args - The process arguments (optional).
  • directory - The working directory (optional).
Fork me on GitHub