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

CreateProcess Module

Extensions to CreateProcess .

Functions and values

Function or value Description

withToolType toolType c

Full Usage: withToolType toolType c

Parameters:
Returns: CreateProcess<'a>

Ensures the command is run with dotnet or with framework/mono as appropriate.

toolType : ToolType
c : CreateProcess<'a>
Returns: CreateProcess<'a>
Example


 Command.RawCommand("tool", Arguments.OfArgs ["arg1"; "arg2"])
     |> CreateProcess.fromCommand
     |> CreateProcess.withToolType toolType // prepare to execute tool, mono tool, or dotnet localtool.
     |> Proc.run
     |> ignore