I don't see why do you workaround the problem before you make sure there's a bug report? I searched Mozilla's bugzilla and nothing is reported about ping() not working.

I'm sure letting the Mozilla people find why it doesn't work is shorter than working around the problem. Please report that as a bug. Let me know if you have questions.

My intent is not to lecture you, but make sure the maximum number of people will enjoy the solution.

https://bugzilla.mozilla.org

Yosef Meller wrote:
--Boundary_(ID_4J4w7ohUWxWs9BJUbxzr4A)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Hi, all

There used to be a way of determining if firefox is running by checking the return value of:

$ firefox -remote "ping()"

However I tried it on 1.0 PR and it's gone. I googled for it and found a message that says the same thing so I guess it's not my problem. Anyway, I needed that, so I wrote a workaround that uses ps. The attached script is designed to open a page in firefox, but if firefox is already running, do it in a new tab.

I submit this for your enjoyment and critical review. I wonder if there is a better (or simply other) way to do it.


--

Regards,

Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il

Debian GNU/Linux unstable (SID)

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to