Skip to content

fix: call install directly from open instead of re-exec - #9

Open
DinonowDev wants to merge 1 commit into
amirkabiri:mainfrom
DinonowDev:fix/open-direct-install
Open

fix: call install directly from open instead of re-exec#9
DinonowDev wants to merge 1 commit into
amirkabiri:mainfrom
DinonowDev:fix/open-direct-install

Conversation

@DinonowDev

Copy link
Copy Markdown

Summary

  • Auto-install missing versions from chvm open by calling the install command in-process.
  • Remove the fragile shell exec of a second CLI process during open.

Test plan

  • Run chvm open <uninstalled-version> and confirm it installs then opens
  • Confirm opening an already-installed version still works
  • Confirm --disable-cors still applies after auto-install

Avoid spawning a second CLI process via shell exec when auto-installing
a missing version before opening 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.

1 participant