https://bugs.documentfoundation.org/show_bug.cgi?id=159307
Patrick Luby <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Assignee|[email protected] |[email protected] |desktop.org | --- Comment #17 from Patrick Luby <[email protected]> --- Thank you @Stephan for confirming what I was seeing. With commit https://git.libreoffice.org/core/+/2b1f5fa987f02ec8014dbf6837c6b090faf11f2d%5E%21, "open -a" is working great. I have some time tomorrow so I'll create a new patch and add the list of default macOS paths part of the old patch. I am also need to handle failure of "open -r". Currently that throws an exception in ShellExec::execute(). What do you recommend for handling this? Expand your stat() tests in ShellExec::execute() that return if a path is non-existant or non-executable? Or just add a try/catch block when XSystemShellExecute::execute() is called? -- You are receiving this mail because: You are the assignee for the bug.
