|
|
|
|
|
by userbinator
3942 days ago
|
|
You may be diappointed to know that Windows' cmd.exe will automatically open the default associated program, so all you need to do is enter the filename if you've associated image files with a default viewer: http://superuser.com/questions/246825/open-file-from-the-com... (I suppose a similar thing could be done on *nix with a suitably modified execlp()/execvp().) |
|
On Linux you should be able to wire up binfmt_misc, the plugin system for execve, to xdg-open.