Winpython *.bat launchers change the current working directory after exiting
See original GitHub issueSummary
In the make.py
script, most *.bat
launchers are set to contain the line cd/D "%WINPYWORKDIR%"
or a similar cd/D ...
line. This causes an unexpected change in the current working directory when accessing these launchers from the command prompt. Issue #384 details this unexpected behaviour for python.bat
, I raise this issue to be applicable for all *.bat
launchers.
Example
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Is it possible to change default directory for WinPython ...
To change the default start directory I modified cmd.bat instead: @echo off call "%~dp0env_for_icons.bat" cmd.exe /k cd /d d:\python.
Read more >BAT file to open cmd prompt, change directory and execute ...
I need to open one command prompt window on windows 10, change directory to a specific folder on that same cmd window and...
Read more >How to Change the Working Directory in Python - Linux Hint
The first thing to do is to set the new path to the working directory. On Ubuntu, this is very straightforward!
Read more >7.28.0 PDF - IPython Documentation
Notable changes are the following: • Exit non-zero when ipython is given a file path to run that doesn't exist PR #12074.
Read more >IPython Documentation | Manualzz
Set the kernel's working directory to the notebook directory when running ... making it possible to replace existing templates with your own files....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/winpython/winpython/pull/414
winidlex.bat = called by the icon, change directory idlex.bat = called directly, doesn’t change directory