More specifically, it can cover Windows, Mac OS X and Linux.
What I want to do is to open a file ending with a .txt extension, the user It has been set to open it, if you want to open it by clicking it or the command line.
The mechanism needs to be asynchronous.
Opening related programs from C Is the operating system independent way of the file? Is there a solution in Boost, or something similar?
More specifically, it can cover Windows, Mac OS X and Linux.
What I want to do is to open a file ending with a .txt extension, the user It has been set to open it, if you want to open it by clicking it or the command line.
The mechanism needs to be asynchronous.
From The QDesktopServices::openUrl of the Qt library provides this function. It is asynchronous (non-blocking).