When I start up this application called splashtop streamer by using python /opt/splashtop-streamer/SRStreamer.pyc
at the prompt everything works fine.
However, when I add sh -c sleep 10;
to the beginning of it, the application tells me it's already running and won't open the program. Why?
I'm trying to start the program 10 seconds into the boot of Ubuntu. When I use simply sleep 10; python /opt/splashtop-streamer/SRStreamer.pyc
the application does not start. When I use sh -c sleep 10; python /opt/splashtop-streamer/SRStreamer.pyc
the application comes up with the error message that another copy is already running, I click okay and it quits.
However it may be important to note that when I'm not booting up the sleep 10; python /opt/splashtop-streamer/SRStreamer.pyc
command works fine.
sh -c sleep 10
and not simplysleep 10
?python/opt/splashtop-streamer/SRStreamer.pyc -p 10
chmod +x
it, and run it at boot-time.