Skip to content

Conversation

@phihag
Copy link
Contributor

@phihag phihag commented Nov 15, 2011

open is aliased to openvt on debian systems.

@phihag
Copy link
Contributor Author

phihag commented Nov 15, 2011

Updated with fallback for Mac and Windows.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to catch subprocess.CalledProcessError instead. It would be nicer if this checked that xdg-open was on $PATH instead of catching an exception.

Sorry for the massively delayed feedback. I have my git notifications under control now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants