This is part of the Fake.DotNet.Cli module.

CreateProcess

Extensions to CreateProcess.

Functions and values

Function or valueDescription
withToolType toolType c
Signature: toolType:ToolType -> c:CreateProcess<'?12612> -> CreateProcess<'?12612>
Type parameters: '?12612

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

Example

1: 
2: 
3: 
4: 
5: 
Command.RawCommand("tool", Arguments.OfArgs ["arg1"; "arg2"])
|> CreateProcess.fromCommand
|> CreateProcess.withToolType toolType // prepare to execute tool, mono tool, or dotnet localtool.
|> Proc.run
|> ignore
val ignore : value:'T -> unit