Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Feb 14, 2025

Otherwise, quarto preview does not work on Windows as quoting is not enough to avoid shell expension pallets/click#2359

Could be revisited if shiny for python opt-out shell expansion

closes #12059

Not sure if we can add test.

Otherwise, `quarto preview` does not work on Windows as quoting is not enough to avoid shell expension
pallets/click#2359

Could be revisited if shiny for python opt-out shell expansion
[skip ci]
@cderv cderv merged commit 1370303 into main Feb 17, 2025
@cderv cderv deleted the shiny/preview-reload branch February 17, 2025 10:33
@cscheid
Copy link
Collaborator

cscheid commented Feb 17, 2025

This is a good fix, thanks. We should really try to avoid shell expansion anywhere we possibly can.

@cderv
Copy link
Collaborator Author

cderv commented Feb 17, 2025

This is a good fix, thanks. We should really try to avoid shell expansion anywhere we possibly can.

Totally !

For context, I discussed this with @gadenbuie - this is not expected really, it is specific to Windows due to how the CLI tool used in Python for py-shiny works.

For reference,

Ideally, shiny for Python should probably opt-out this default shell expansion on Windows.

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.

can't import custom module utils.py (Error: Got unexpected extra argument (utils.py)) when using quarto preview and server: shiny

3 participants