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
OBSOLETE
FAKE0001 Use `open Fake.Core` and `Process.Shell`
Allows to exec shell operations synchronously and asynchronously.
Constructor | Description |
new()
Signature: unit -> Shell
|
|
Static member | Description |
Shell.AsyncExec(cmd, args, dir)
Signature: (cmd:string * args:string option * dir:string option) -> Async<int>
Attributes:
[<Obsolete("FAKE0001 Use `open Fake.Core` and `Process.Shell.AsyncExec`")>]
|
OBSOLETE
FAKE0001 Use `open Fake.Core` and `Process.Shell.AsyncExec`
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).
|
Shell.Exec(cmd, args, dir)
Signature: (cmd:string * args:string option * dir:string option) -> int
Attributes:
[<Obsolete("FAKE0001 Use `open Fake.Core` and `Process.Shell.Exec`")>]
|
OBSOLETE
FAKE0001 Use `open Fake.Core` and `Process.Shell.Exec`
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).
|