How can I start my nodejs server with powershell and exit the server while the server still runs?

by fUrious   Last Updated January 12, 2018 21:01 PM

I can login and start the server like:

$s = New-PSSession -ComputerName $ip -Credential $cred

Enter-PSSession $s

c:\nodejs\node.exe c:\myserver\app.js

But how can I keep it alive even when I close / quit / exit the server?



Related Questions




how to create dynamic dropdown using keystone Js?

Updated February 25, 2016 05:00 AM