gf3 / sandbox

A nifty JavaScript sandbox for Node.js
ISC License
844 stars 123 forks source link

[FEATURE] Replace hollabacks with callbacks #33

Open emschwartz opened 10 years ago

emschwartz commented 10 years ago

Sandbox.run now accepts a callback of the form function(error, result){...} Sandboxed code's process.stdout is piped directly to parents Exposed process.exit() function to sandboxed code Added tests Updated documentation and examples Changed testing framework to use Chaijs/expect instead of Shouldjs