Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7613943
By: neurosurg
Hi,
I start an interactive console for a currently edited file.
For some reason working directory isn't set to the directory the file is located
in.
It is set to Eclipse's installation directory:
>>> os.system("pwd")
/cygdrive/p/dev/eclipse3.5
and this is also immune to the following:
os.system("cd /path/to/the/right/directory")
I've walked to the property entries that I've found somewhat relevant:
Project-->Settings-->"Run/Debug Settings" --> "myproject mymodule.py" -->"Edit"
-->"Arguments"-->"Working directory" --> "Other": ${workspace_loc:myproject/src}
This setting I find OK. Why then the current dir isn't
${workspace_loc:myproject/src}
?
How could I fix it?
regards
Valery
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users