Re: How to test to see if a program is running?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Mar 5, 2010, at 8:50 AM, Alexander von Below wrote:
http://developer.apple.com/mac/library/qa/qa2001/qa1123.html
Am 05.03.2010 um 17:49 schrieb Allan Marcus:
I'm trying to build an installer for FireFox that I can push out with puppet. The installer will be run from the command line (silent install).
The issue is that if FireFox is running, bad things can happen if the installer runs. Is there a way (and how) to check to see if FireFox is running and stop the install if it is?
Some way to incorporate ps -efc | grep -i FireFox
If you are using distribution-based packages (and you almost certainly should be), the Installer JavaScript Reference has some good stuff for you: http://developer.apple.com/mac/library/documentation/DeveloperTools/Referenc... _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Coderre