OK, in summary, what is the MAGIC piece of code here...the crux...the essence:
*********************************** ***** BOOKMARK THIS ****** *********************************** [code] if ((ppid=fork())==0) { printf("Child process\n"); execlp("bash","bash","./ecurl.sh","",NULL); return; //terminates child process } //does this block? YES! // printf("Parent process %d\n",ppid); wait(&status); [/code] Get this code tattooed on your butt. Took me days to fully work it out and you have automation licked. a way to do it. :D <https://lh3.googleusercontent.com/-f-dg2dj_iW0/WMGXxqHymDI/AAAAAAAAAIY/UYvV6AFdtZwhXgDcUjw7BwuWHuYWokHMgCLcB/s1600/female_heirophant.jpg> On Saturday, February 25, 2017 at 10:44:53 PM UTC-7, woody stanford wrote: > > Here is how you do the background process thing on a Beagle, even stock. > > https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=175567 > > A claim. > -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4317d3e2-c245-431a-8ed4-58f65b45d23a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.