From: Eko Budi Setiyo Date: 2005-02-15T14:41:11+09:00 Subject: Re: IO.popen 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. > > > Thanks I don't know so much about "start" on windows. Personally it's quite dangerous function. I accidently find it. Because: something.exe ---rename---> something.pdf ----> C:\start something.pdf ---> will executed as something.exe regards Eko