Skip to content

Conversation

trustin
Copy link

@trustin trustin commented Feb 6, 2023

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.

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.
@trustin
Copy link
Author

trustin commented Feb 20, 2023

Gentle ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant