SoloCDM,
Short answer: You can't. (At least AFAIK :-)
Long answer: You can. Almost.
You may create a shell script (I believe) or a Perl script (I know) that
will use flock to verify that it is running in one instance only. The
script may then execute your program, which (and this is the 'almost'
part) has an obscure name in an obscure directory that 'only you know'
and nobody else is aware of. This assumes that 'ordinary' users may
execute, but not read your script.
Regards
Gustav
SoloCDM wrote:
>
> How do I issue a command that will prevent two possible executed
> instances of the same program?
>
> Note: Detailed Documentation(s) and Sample(s) are more than welcome.
> When you reply to this message, please include
> the mailing list and my address.
>
> *********************************************************************
> Signed,
> SoloCDM
--
pgp = Pretty Good Privacy.
To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]
Visit my web site at http://www.schaffter.com
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.