I am trying to program an application that will proceed files of any types and display them. This program should be able to open any of these files using the associated program defined by the operating system.
I know that in windows you can invoke "run file_name.ext" to do the trick, but I also want this application to be portable.
So I was wondering if anyone knew of a portable library that could launch files using the os-associated program.
I don't know of any library (it seems likely that one exists, though), however you can do it yourself using "start" on Windows, "xdg-open" on Linux/BSD (or gnome-open and kde-open) and on OS X there's "open".