Current Behavior
| platform |
call |
args |
result |
| macOS |
/usr/bin/open |
main.pdf -a hellohello |
silent after triggers /usr/bin/open successfully |
| Linux |
hellohello |
main.pdf |
error because fails triggers hellohello |
Expected Behavior
open::with_detach( main.pdf , hellohello) should return an error, consistent with the behavior of running open main.pdf -a hellohello in the terminal.
background : typst/typst/issues/8061
Since both open-rs and the underlying '/usr/bin/open' command implement detachment, Would it make sense to remove one layer to simplify things? It might be better to implement this removal upstream.
I've gone through Byron/open-rs#46
Current Behavior
Expected Behavior
open::with_detach( main.pdf , hellohello)should return an error, consistent with the behavior of runningopen main.pdf -a hellohelloin the terminal.background : typst/typst/issues/8061
Since both open-rs and the underlying '/usr/bin/open' command implement detachment, Would it make sense to remove one layer to simplify things? It might be better to implement this removal upstream.
I've gone through Byron/open-rs#46