noamraph / dreampie

DreamPie - The Python shell you've always dreamed about!
www.dreampie.org
GNU General Public License v3.0
235 stars 53 forks source link

command line option --dir to specify start-in directry? #50

Open ghost opened 10 years ago

ghost commented 10 years ago

I thought It would be nice to have a command line option to accept the start-in folder. Here's what I tried. It works nice for me on Windows 7 machine.

I wanted to open DreamPie from the folder I am in by right-clicking menu on Windows. Then I came up with this approach here. Basically, it's a simple registry hack but I had to make a batch file to change directory before launching dreampie because there was no command line option.