Skip to content

fix(show-me): use a platform-appropriate command to open the HTML file - #3

Open
JuanluTrapero wants to merge 1 commit into
humanlayer:mainfrom
JuanluTrapero:fix-open-command-portability
Open

fix(show-me): use a platform-appropriate command to open the HTML file#3
JuanluTrapero wants to merge 1 commit into
humanlayer:mainfrom
JuanluTrapero:fix-open-command-portability

Conversation

@JuanluTrapero

Copy link
Copy Markdown

The HTML branch of show-me ends with:

Bash(open path/to/show-me-{description}.html)

open is macOS-only, so on Linux the agent runs a command that does not exist, and on WSL xdg-open is usually not the right one either. The visual gets written and then never shown.

This lists the equivalent per platform, keeping the existing style and staying inside the same code block. No other changes.

`open` only exists on macOS, so the final step of the HTML branch fails on
Linux and WSL. List the equivalent command for each platform.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants