LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to find if the application has fully loaded? (http://www.linuxquestions.org/questions/linux-general-1/how-to-find-if-the-application-has-fully-loaded-789423/)

sr71919 02-16-2010 03:51 AM

how to find if the application has fully loaded?
 
Hi all,
I need to run another little GUI application xyz after Firefox gets loaded up fully. How do i find that firefox has fully loaded??

If i run
Quote:

#!/bin/sh
firefox
xyz
This runs and shows up xyz before Firefox geting fully loaded.
How to solve this issue??

--
Saravanan Sundaramoorthy

druuna 02-16-2010 03:56 AM

Hi,

Use &&.

This: firefox && xyz should start xyz if firefox starts without a problem.

&& is the key here. || does the opposite, it starts xyz if firefox does not start correctly.

Hope this helps.


All times are GMT -5. The time now is 05:43 AM.