Skip to content

yangxuanxing/silentlyRun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

后台运行程序,不阻断用户操作

使用

  1. 可以作为module,require使用

     var silentlyRunner = require('../index');
     silentlyRunner.start('./proxyServer'); // start proxyServer in background
     silentlyRunner.stop(); // stop proxyServer
    
  2. 也可以直接运行

     node silentlyRun ./proxyServer // start proxyServer in background
     node silentlyRun -s // stop proxyServer
    

About

run a node app in background

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published