Open mhogerheijde opened 3 years ago
Thank you @mhogerheijde for submitting this. It's an interesting issue that I'm not sure we can get around but we'll try. The open command is just a fancy process launcher. We should be able to trap the return code of the exited process and act accordingly if it fails (ie. trap the exception and clean up the IO).
Also note that the browser opens and I get to see the page, so in functionality it does what it is supposed to do 👌
When I run the command
jira open <ISSUE-ID>
I get the following error:I think the error about flash not being installed is from the Chromium-based browser I use, one could argue that its errors should not propagate to the CLI (unless the browser actually doesn't start?).
To compare, a tool like
xdg-open
does indeed itself exit with zero status, even though the terminal does show the same error.It is questionable that the Chromium stuff thinks it is an error that I don't have any flash plugins installed,... 🤷♂️