Reputation: 91
Is there a way in erlang to open file in the same way it will open when I double click it? Open using the application associated with the type of the file.
Specific I need to open png file.
Thanks!
Upvotes: 1
Views: 83
Reputation: 41578
This seems to work:
os:cmd("xdg-open my-image.png").