View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#469
Originally Posted by kupster View Post
Hello! This is my first post here.
I've been looking at this forum for a while, but register first today.
First of all, GREAT APP!
Thanks.

I would like to start both Meespot and Ecoach for trainging.
But it only starts the first one.
I have this input:
invoker --splash /usr/share/MeeSpot/splash.png --type=d /opt/MeeSpot/bin/MeeSpot & invoker --splash=/opt/ecoach/ecoachsplash.png --type=d /opt/ecoach/bin/ecoach2

I only starts Meespot and not Ecoach.
I a change Ecoach to the first, then Ecoach is lauched, but not Meespot.

Help please?
When multiple commands are needed, it's best to put that into a shell script. For example, create file
/home/user/scripts/training.sh:
Code:
#!/bin/sh

invoker --splash /usr/share/MeeSpot/splash.png --type=d /opt/MeeSpot/bin/MeeSpot & 
invoker --splash=/opt/ecoach/ecoachsplash.png --type=d /opt/ecoach/bin/ecoach2 &
Then put into ProfileMatic's custom action:

Code:
sh /home/user/scripts/training.sh
Then both of them should run.
__________________
My N9/N950 projects: