Repository navigation
Conversation
PaulWessel
left a comment
There was a problem hiding this comment.
I though we wanted the error/warning to go to stderr and then print the URL to stdout? Use Report for the former and now we will have to initialize the IO machinery to write one text record to stdout. Or we say screw it and just write directly with printf and not worry about the use of docs from other environments.
|
I was just trying to avoid that ugly |
|
I think we should check the system return and if xdg-open is not found then it is an error and we do as before. However, if it is not that type of error then we can do a soft GMT_Message and then just do a printf of the URL. |
|
But this only about |
|
yes, I think open and cmd start will always be available. I think only "not found" is an error. Reasons for other failures would be considered soft and have to do with X11 tunneling etc. Given that we are addressing an issue affecting 1% of users I think handling this 1st order error is more than we need to worry about. |
Address issue #498