View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#865
Originally Posted by impeham View Post
Hmm... tried that already but no good...

is there a way to run a script which will start my script, then run the camera-ui application (and wait for it to close) and then run another script?

i tried to do that running camera-ui using standalone.sh but it runs it as a background process which is not good (the second script runs immediately and doesn't wait for the application to close)

i also tried to create a while loop to wait for the camera-ui process to close and when it does - to run the second script but it is not good since the camera-ui process does not close when i quit the application...

Any other ideas will be great...
camera-ui is always running in background, that is by design. So your dbus script should listen when it becomes visible and/or top application. And I think that is OT here.

Last edited by freemangordon; 2012-01-25 at 15:22.