Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Re: Kill Firefox


Isnt it ps ( in a terminal) to get the PID for Firefox, then kill "PID"?

Bill

Still a newbie


slug-request@xxxxxxxxxxx wrote:
Send slug mailing list submissions to
	slug@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.slug.org.au/listinfo/slug
or, via email, send a message with subject or body 'help' to
	slug-request@xxxxxxxxxxx

You can reach the person managing the list at
	slug-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of slug digest..."
------------------------------------------------------------------------

Today's Topics:

   1. "Right" way to kill firefox from a script? (Amos Shapira)
------------------------------------------------------------------------

Subject:
[SLUG] "Right" way to kill firefox from a script?
From:
"Amos Shapira" <amos.shapira@xxxxxxxxx>
Date:
Fri, 1 Aug 2008 09:26:19 +1000
To:
SLUG <slug@xxxxxxxxxxx>

To:
SLUG <slug@xxxxxxxxxxx>


Hello,

Platforms: Linux, OS X, Windows
Firefox: 2 and 3

We have a test script which runx Firefox to visit a web site and after
a few seconds it stops it.

Right now we use "killall firefox" but this causes it to behave as if
it crashed the next time it comes up.

I found in http://tinyurl.com/5qk9so mentioning of "-kill" and
"-killAll" but without explanation of how to use it, and a simple
attempt to use it didn't cause the browser to quit so I'm not even
sure it does what I guess it does.

What's the "right way" to cause firefox to exit properly?

Otherwise - can I change something in Firefox's configuration to cause
it to ignore crashes?

Alternatively - what files on the disk should I change/remove to
"clean up" a crashed session?

Thanks,

--Amos

------------------------------------------------------------------------

--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html