Joel VanderWerf wrote:

> craig duncan wrote:
>
>> Eko Budi Setiyo wrote:
>>
>>> Can any body tell me how to convert "Windows command" 
>>> IO.popen("start  example.pdf") in to Linux or Unix so that the Linux 
>>> box will open the "example.pdf" file application.
>>>
>>> regards
>>> Eko
>>
>>
>>
>> IO.popen("xpdf example.pdf")
>>
>> Doesn't "start" on Windows function as sort of a dispatcher?  It 
>> knows what application goes with the file type?  Linux/Unix doesn't 
>> have any such thing
>> built in AFAIK.  You need to run the program that displays the pdf 
>> file yourself.
>
>
> KDE has "kfmclient exec URL". Gnome probably has something similar.
>
>
>
Thanks

Is it possible for ruby to find out what is the pdf reader application 
installed in the target Computer

regards
Eko