Skip to content

Instantly share code, notes, and snippets.

@jonathanpeppers
Created March 2, 2015 20:47
Show Gist options
  • Save jonathanpeppers/913fff7ac197076671e1 to your computer and use it in GitHub Desktop.
Save jonathanpeppers/913fff7ac197076671e1 to your computer and use it in GitHub Desktop.
Exec helper for FAKE
let Exec command args =
let result = Shell.Exec(command, args)
if result <> 0 then failwithf "%s exited with error %d" command result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment