1.0.0 • Published 8 years ago

run-exec v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

runExec

The sample tool for running unix code in nodejs

usage

  var instructionList = ['git branch', 'git reset --hard origin/master'];
  var option = {
    webRoot: '../fake-natoo'
  };
  var errCode = yield runTask(instructionList, option);

Option

paramtypedefaultvaluedescription
webRootStringnull/exec run path
isAsyncBoolenfalsetrue/false/
showOutputBoolenfalsetrue/false/