LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-16-2010, 04:51 AM   #1
sr71919
LQ Newbie
 
Registered: Dec 2009
Location: Chennai, Tamil nadu, INDIA
Distribution: Fedora
Posts: 14

Rep: Reputation: 1
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

Last edited by sr71919; 02-16-2010 at 04:52 AM. Reason: sign
 
Old 02-16-2010, 04:56 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find loaded module for device? kmokrzcyki Linux - Hardware 1 04-13-2007 12:19 PM
How to check the command for the loaded application? q0987 Linux - Enterprise 7 01-14-2007 11:55 AM
application loaded at startup rob_xx17 Linux - General 2 10-26-2005 09:16 PM
Find out which modules are loaded? redneon Linux - General 8 05-25-2004 01:03 PM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 11:05 AM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration