silent-spawn

0.4.0 • Public • Published

silent-spawn

Spawn detached process without opening command line on windows

node.js always opens an extra command line for the child process if you run spawn with detached option. This is quite annoying if you just want to run a script on the background which is not killed when the parent process ends. This package eliminates this problem by passing spawn command through another .net based executable on windows. On linux you get the unchanged native spawn without proxy.

var spawn = require('silent-spawn')
spawn('node', ['script.js'], { detached: true })

Readme

Keywords

Package Sidebar

Install

npm i silent-spawn

Weekly Downloads

2,167

Version

0.4.0

License

MIT

Last publish

Collaborators

  • bjrmatos
  • pofider