On Dec 4, 2:47=A0pm, Jim Burgess <jack.ze... / gmail.com> wrote:
> Hi,
>
> I have a FXRuby app, which is fine and dandy and does exactly what it
> should. However, if the user, for whatever reason, decides to start two
> instances of the app, bad things start happening.
> My question: is there any way for my app to check if another instance of
> itself is running before launching itself?
>
> Thanks very much in advance.
>


this will work in *nix and winblows:

https://gist.github.com/734929


> --
> Posted viahttp://www.ruby-forum.com/.