Re: How to test to see if a program is running?
Re: How to test to see if a program is running?
- Subject: Re: How to test to see if a program is running?
- From: Allan Marcus <email@hidden>
- Date: Fri, 5 Mar 2010 10:32:56 -0700
Please let me clarify.
I see that I can have a script run for system requirements. I cannot find any documentation on how to use this feature. I have a test.sh script that I put into the script path field.
questions:
1) what should the script return to indicate pass or fail?
exit 0 for pass
exit 1 for fail
?
2) the script doesn't seem to get included in the package. In the installer log when I run the installer it appears the install is trying to run the script from the original location.
---
Thanks,
Allan Marcus
505-667-5666
On Mar 5, 2010, at 9:49 AM, Allan Marcus wrote:
> Hi,
>
> 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
>
> ---
> Thanks,
>
> Allan Marcus
> 505-667-5666
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden