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<'?12767> -> CreateProcess<'?12767>
Type parameters: '?12767

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