On 10/3/07, ara.t.howard <ara.t.howard / gmail.com> wrote:
>
> i expect it won't work on windows but maybe i'm wrong?  if so can
> someone suggest code to accomplish this task?
>
> cheers.
>
> a @ http://drawohara.com/

It works for me on Windows XP, with the Ruby 1.86 OCI.

>> alive?(6012)  # firefox
=> true
>> alive?(5352)  # task manager
=> true
>> alive?(6000)  # doesn't exist
=> false

regards,

Gordon