Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
OS X: Use "open" to open files on Mac OS X (bug 1482)
  • Loading branch information
elelay authored and thp committed Nov 12, 2011
1 parent f236554 commit 85ea863
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gpodder/util.py
Expand Up @@ -1144,6 +1144,8 @@ def gui_open(filename):
try:
if gpodder.win32:
os.startfile(filename)
elif gpodder.osx:
subprocess.Popen(['open', filename])
else:
subprocess.Popen(['xdg-open', filename])
return True
Expand Down

0 comments on commit 85ea863

Please sign in to comment.