Skip to content

Instantly share code, notes, and snippets.

@philipjkim
Created August 3, 2012 07:55
Show Gist options
  • Save philipjkim/3245587 to your computer and use it in GitHub Desktop.
Save philipjkim/3245587 to your computer and use it in GitHub Desktop.
Cakefile Skeleton
{exec} = require 'child_process'
task 'test', ->
cmd = 'ls'
options = '-lrt'
exec "#{cmd} #{options}", (err, stdout, stderr) ->
console.log err if err
console.log stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment