Generally, all you need is '&' to send the process to the background. So if
I had a Nodejs script called 'app.js' . . .

$ node app.js &

This would start app.js through node, then send the  process into the
background. Giving me a PID which I could use later to kill the process.

On Tue, Dec 27, 2016 at 10:56 AM, Denis Cosmin <[email protected]>
wrote:

> I retried with nohup and it works now. I think I had problems in the
> sender code.
>
> On Tuesday, December 27, 2016 at 7:32:46 PM UTC+2, Denis Cosmin wrote:
>>
>>
>> Hello,
>>
>> I use the BBB to turn on my christmas light using a simple relay circuit.
>> I made a simple server in python that listens to post requests, so far it
>> works, I also use Microsoft Cognitive Services to send post requests based
>> on speech commands.
>> When I start up the python server: nohup python3 server.py & everything
>> works fine while I am connected to the BBB over ssh but when I leave the
>> server stops working.
>>
>> Could you please give me some advice on how to keep python3 server
>> running after I disconnect from ssh?
>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/167a3385-0126-4c45-a7f0-2cdd1796759b%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/167a3385-0126-4c45-a7f0-2cdd1796759b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORpj5TFuXcCKN47k2OMpxKKXP6EvWZhNy6e91beXc44hWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to