From: Daniel Berger Date: 2007-12-22T07:22:48+09:00 Subject: Re: check if application exists On Dec 21, 2:23 am, Al Og wrote: > Hello everyone, > > I'm launching external application from my ruby script > using %x{application_name} > > I want to check if such application exists before launching. > To check it on linux I can parse "which application_name" command > output. > > But what about windows platform? Is there any crossplatform solution > exists? require 'ptools' File.which('ruby') Yep, works on Windows. Regards, Dan