From: Bigmac Turdsplash Date: 2009-09-30T15:37:16+09:00 Subject: Re: if process.exist then . . . ??? Here is what i have so far... i have been playing with this for a while now... im getting no were ,-( require 'rubygems' require "win32/process" require "sys/proctable" include Sys pids = [] ProcTable.ps{ |s| pids.push(s.pid) if s.cmdline =~ /calc/ } if calc exist # this is improper, so how do i make it proper? puts 'calc is running' else puts 'calc not running' end -- Posted via http://www.ruby-forum.com/.