1 2 3 Previous Next 30 Replies Latest reply on Nov 30, 2014 4:48 AM by AlexT_Intel

    How to run a prog even after terminal closes



      I compiled a program using the IoT dev kit. I copied the binary and started it using ssh.

      However the moment I disconnect the shh/terminal the program is killed.


      I'm not a linux person so i'm not sure how to make sure a program runs without being killed by patent terminal


      I have already tried the following and none worked

      1. nohup ./myprog &

      2. (nohup ./myprog) &

      3. ((exec ./noprog) &)

      4. I also tried fork inside my main for the program


      How does the arduino sketch  accomplish this?



        1 2 3 Previous Next