Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

CreateProcess

Extensions to CreateProcess.

Functions and values

Function or valueDescription
withFramework(c)
Signature: c:CreateProcess<'a> -> CreateProcess<'a>
Type parameters: 'a

Ensures the executable is run with the full framework. On non-windows platforms that means running the tool by invoking 'mono'.

Example

1: 
2: 
3: 
4: 
5: 
Command.RawCommand("file.exe", Arguments.OfArgs ["arg1"; "arg2"])
|> CreateProcess.fromCommand
|> CreateProcess.withFramework // start with mono if needed.
|> Proc.run
|> ignore
val ignore : value:'T -> unit