Hello everyone, I created a quick synchronous exec module for those of us
who like to do command line scripting in Node.

I knew of the execSync module, but was not a fan of the ffi module
dependency. My brief searches revealed no other potentials, hence AllSync
was born.

AllSync has no other module dependencies, and that's how it will stay.

It's simple to use:

var code = require('allsync').exec('find /', function(data){
  process.stdout.write(data)
})


Where `code` is your sub processes return code.

The `exec` method will not return until the sub-process completes, but your
callback function will be called synchronously throughout the lifetime of
the sub-process. Thus it is possible to stream data out from a long-running
process.

The repository and npm links are here

   - https://github.com/jacobgroundwater/node-allsync
   - https://npmjs.org/package/allsync

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to