how to starts 2 programs at once
Posted: Wed Mar 02, 2016 7:51 pm
by Rickynomero
Im trying to have vlc start a song when i start another program on raspbian. I have raspberry pi 2. The program im using is pikix pi, its a video mixer, so what i want to do is have a song play from vlc while im in the video mix application, but dont want to do it manually each time.
Re: how to starts 2 programs at once
Posted: Thu Mar 03, 2016 7:17 am
by Goraxium
If you're running it from the terminal, add a & to the end of the program call to fork it to the background. One thing to note, though: Jessie has a tendency to kill programs started this way from scripts that are launched from X, as soon as the script finishes running (almost like it's not forking the programs properly). Works fine from a normal terminal though (even after you close it).