Use `xdg-open` instead of `open` for opening preview files
Motivation: - When a user runs `./preview` script to preview the extraction result, the script executes the `open` command regardless of the current operating system. As a result, the command fails on Linux. Modifications: - Use `xdg-open` instead of `open` in Linux to open a file. - Log a message in other operating systems. Result: - Preview files are open automatically as expected in Linux.pull/727/head
parent
c0364ec52b
commit
e0943132f7
Loading…
Reference in New Issue