Author steve.dower
Recipients eryksun, jeff.allen, mark, ned.deily, serhiy.storchaka, steve.dower, terry.reedy
Date 2018-11-19.11:49:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542628171.04.0.788709270274.issue22121@psf.upfronthosting.co.za>
In-reply-to
Content
I still think the best option is a command line flag like "--open-in-homedir" that causes Idle to do a chdir to the user's documents folder. This way we can put a static option in the start menu item in the installer and not worry about the limitations of MSI, etc. These limitations also exist in MSIX (app store packages) which is coming soon as well.

Alternatively, we could check the current directory to see if it matches sys.prefix (or whatever it matches) and chdir in that case. No option needed.

For reference, VS Code requires "code.exe ." to start in the current directory, and otherwise uses its default no matter where you start it from.
History
Date User Action Args
2018-11-19 11:49:31steve.dowersetrecipients: + steve.dower, terry.reedy, mark, ned.deily, serhiy.storchaka, jeff.allen, eryksun
2018-11-19 11:49:31steve.dowersetmessageid: <1542628171.04.0.788709270274.issue22121@psf.upfronthosting.co.za>
2018-11-19 11:49:31steve.dowerlinkissue22121 messages
2018-11-19 11:49:30steve.dowercreate