Upstream almost went for the same solution:
https://git.gnome.org/browse/pitivi/tree/pitivi/mainwindow.py
if asset.is_image():
subprocess.call(['xdg-open', str(path_from_uri(asset.get_id()))])
I'll go with that then.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1506823
Title:
Shell Command Injection with a picture
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/1506823/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs