[Haskell-beginners] Start file with associated prog (windows only?)

Isaac Dupree ml at isaac.cedarswampstudios.org
Tue Aug 18 15:34:09 EDT 2009


Bernhard Lehnert wrote:
> Am Dienstag, den 18.08.2009, 16:07 +0100 schrieb Magnus Therning:
> 
>> Windows has a command "start" which you can use e.g. via System.Process.proc.
> 
> Thank you, Magnus - this is exactly what I was looking for. (By the way,
> someone should implement something like this for GNOME and KDE,
> too ;-) )

Well, there is `xdg-open` command, which is not as well-known as it 
should be.  OS X calls the equivalent command "open".  I'm not sure what 
xdg-open does with executable files (Does it really make sense, in a 
unixy context, to just execute them?)

-Isaac


More information about the Beginners mailing list