shell wrong path
Bug #884739 reported by
Andreas Roehler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Am 01.11.2011 12:33, schrieb Andrea Crotti:
> While trying to run a script and there is already another *Python*
> buffer open
> for another directory, running the script normally fails if there are some
> relative file paths.
>
> Apparently the CWD in the *Python* buffer remains the old one, and thus it
> makes sense that Python can't resolve relative paths.
>
> I tried to add this line in py-execute-buffer but without success,
> any help?
>
> (cd (file-name-
>
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.0.4 |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | New → Opinion |
Changed in python-mode: | |
status: | Opinion → New |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Am 01.11.2011 22:50, schrieb Andrea Crotti:
[ ... ]
> > And anyway, I think is quite a bug, because if I run a python script I
> > should expect that it runs in the same current directory...
I quite agree.
Georg