Command-line open is broken