lizh06 / winpdb

Automatically exported from code.google.com/p/winpdb
0 stars 0 forks source link

Set working directory the way it is in pdb #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
...or provide a way to set it with an option on launch

Scenario: I want to launch a script located somewhere in my $PATH, but I want 
it so see the directory it was launched from as the current directory. Python, 
of course, works this way. So does pdb. But for some reason winpdb, changes the 
directory. Using the -c option sets the directory to the script on the $PATH 
variable so that's not what I need. In order to work this way now I need to 
either change the current directory from the console window in winpdb, or copy 
the script in my $PATH to the current directory.

Original issue reported on code.google.com by Dahvid.Minor@gmail.com on 20 Jul 2011 at 12:44