简体   繁体   中英

forever start app.js on windows opens a node command window

I installed forever and forever-win globally using npm and started my app.js using 'forever start app.js' and this works but it opens a 'nodejs window' which I cannot close.

Is there a way in windows to start my application from commandline using forever without this nodejs window appearing?

Start it as a background process from command line.

START /B program

See this superuser question for more details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM