0.0.2 • Published 7 years ago

spawn-widget v0.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

spawn-widget

Widget for spawning node-like processes in the browser. Usage here, live demo here.

setspawn = require("spawn-widget")(container, sandbox)

  • container :: dom.Element
  • sandbox :: commonjs-editor.Sandbox
  • setspawn(spawn)
    • child = spawn(path, script, argv)
      • path :: string
      • script :: string
      • argv :: [string]
      • child :: child_process.ChildProcess