News for hackers. Stuff that matters.
Re:Black Screen: A modern terminal emulator based on Electron by userbinator on Saturday September 05, 2015 @11:15PM (#10176728)
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().)

Re:Black Screen: A modern terminal emulator based on Electron by geofft on Sunday September 06, 2015 @12:21AM (#10176811)
Freedesktop systems get you an 'xdg-open' command (there's also 'gnome-open' for GNOME, and 'open' for Mac OS X).

On Linux you should be able to wire up binfmt_misc, the plugin system for execve, to xdg-open.

Re:Black Screen: A modern terminal emulator based on Electron by kuschku on Sunday September 06, 2015 @09:46AM (#10177618)
kde-open exists, too ;)
Re:Black Screen: A modern terminal emulator based on Electron by dkns on Sunday September 06, 2015 @01:01PM (#10178194)
If I understand you correctly you can also do this in zsh: https://grml.org/zsh/zsh-lovers.html although not automatically.