Skip to content

Winpython *.bat launchers change the current working directory after exiting #409

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

Closed
heetbeet opened this issue Oct 14, 2016 · 6 comments
Closed

Comments

@heetbeet
Copy link

heetbeet commented Oct 14, 2016

Summary

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

bd284f08-3ec4-11e6-83a1-3050d685908d

@stonebig
Copy link
Contributor

point valid.

@stonebig
Copy link
Contributor

stonebig commented Oct 16, 2016

hum,

I think this problem is solved in coming WinPython-3.5.2.3, via commit of September 1rst, 2016:
a326579

@stonebig stonebig added this to the 2016-05 "refresh": Spyder 3.0 / Pandas 0.19.0 / Scikit-learn 0.18 milestone Oct 16, 2016
@heetbeet
Copy link
Author

@stonebig, yes part of the problem was solved in a326579, but only for python.bat, I recommend it to be solved for all .bat launchers. Unless I am mistaken, would it be possible to reopen this issue?

@stonebig stonebig reopened this Oct 17, 2016
@stonebig stonebig modified the milestones: 2016-06 Spyder-3.1 / Pandas-0.19.1 / Matplotlib2.0., 2016-05 "refresh": Spyder 3.0 / Pandas 0.19.0 / Scikit-learn 0.18 Oct 17, 2016
@stonebig
Copy link
Contributor

would mean doing separate batches, as "python.bat" vs "winpython.bat"

@stonebig stonebig modified the milestones: 2016-05 "refresh": Spyder 3.0 / Pandas 0.19.0 / Scikit-learn 0.18, 2016-06 Spyder-3.1 / Pandas-0.19.1 / Matplotlib2.0. Oct 17, 2016
@stonebig
Copy link
Contributor

stonebig commented Oct 17, 2016

winidlex.bat = called by the icon, change directory
idlex.bat = called directly, doesn't change directory

@stonebig
Copy link
Contributor

#414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants