Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Shift wpcp.bat forwarded arguments inside quotes #1579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

firai
Copy link
Contributor

@firai firai commented Apr 29, 2025

Modifies #1571 to shift the arguments inside the quotes, so that the quoted arguments can be used (such as for quoted paths). This is only necessary because wpcp.bat uses cmd.exe /c to call wppm (rather than calling python -m winpython.wppm).

@stonebig stonebig added this to the 2025-03 PEP 751 / AI local milestone Apr 29, 2025
@stonebig
Copy link
Contributor

stonebig commented May 2, 2025

python -m wppm would be better ? the less DOS tricks, the more sustainable

@stonebig stonebig merged commit afdea17 into winpython:master May 8, 2025
@firai
Copy link
Contributor Author

firai commented May 8, 2025

@stonebig Switching to python -m winpython.wppm would be fine with me. I didn't know if there was a reason why the batch file was set up the way it was.

@firai firai deleted the shift-wpcpcbat-arg-order branch May 8, 2025 13:19
@firai
Copy link
Contributor Author

firai commented May 8, 2025

On a related note, changing the IDLE batch script to execute python -m idlelib instead of trying to point to the actual module file would probably be more modern/Pythonic as well.

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