Almost, on Windows the command is "start":
def callme
system("start 2k7.mp3")
end
callme
That should launch your system's default mp3 player. I think that will
only work on the native windows build of ruby, not cygwin.
Chris Lowis wrote:
> I haven't got a windows system to test this on, but does this work ?
>
> def callme
> system("open 2k7.mp3" )
> end
>
> callme
>
>
> Chris
>
>