This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author guido.fioravantti
Recipients guido.fioravantti, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2021-11-02.19:34:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CANxDnXzejkLmcSUabDyRThYWn_-m4HSoGrPu=Gafu5FES8+A0w@mail.gmail.com>
In-reply-to <37fcac8b-e275-f72d-7f1e-cb5f3cc0d3d4@python.org>
Content
Understood, my mistake.

I wonder if explorer.exe or any other general purpose open command is
guaranteed to be available in all WSL distros. There’s also a consideration
to be made on WSL1 vs WSL2 (only v2 ships an actual Linux kernel).

For detection, there’re some other projects that have done this for some
time. Not sure they’re up to python-core standards, but I put an example
for the fish shell in my original description.

Might be worth looking into.

On Tue, Nov 2, 2021 at 3:28 PM Steve Dower <report@bugs.python.org> wrote:

>
> Steve Dower <steve.dower@python.org> added the comment:
>
> FWIW, I don't have wslview in the Debian distro I'm currently using. It
> does have wslpath though.
>
> Consistent detection and integration throughout CPython's standard
> library (unless we believe we need special build options too) is
> probably worth a python-dev discussion.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue45589>
> _______________________________________
>
History
Date User Action Args
2021-11-02 19:34:22guido.fioravanttisetrecipients: + guido.fioravantti, terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower
2021-11-02 19:34:22guido.fioravanttilinkissue45589 messages
2021-11-02 19:34:22guido.fioravantticreate