[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Christoph Reiter
Christoph Reiter added the comment: Afaik Cywin programs only work with native Windows paths if the paths happen to get directly passed to the OS APIs and not interpreted in any way before that. So I don't think this is a bug and expected behavior. Use "cygpath C:/path/to/script.py" to

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Eryk Sun
Eryk Sun added the comment: MSYS2 has basically the same problem when the script is passed as a Windows path, except it uses "/c" for the "C:" drive instead of "/cygdrive/c". # python3 -VV Python 3.9.9 (main, Dec 28 2021, 11:05:23) [GCC 11.2.0] # echo $PWD /proc #

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Mike Kaganski
Mike Kaganski added the comment: > As for 3.9: it's not available through the 64 bit installer (at least, I > don't see it there). I'll look and see what's involved in installing it. I don't remember if I did something special to install it; however, just maybe you need to install python39

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Steve Dower
Steve Dower added the comment: Does Cygwin not use : as a path list separator? (What would normally be ; on Windows.) Perhaps the CPython build needs to be patched specially here to handle different separator character. -- ___ Python tracker

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Eric V. Smith
Eric V. Smith added the comment: >:) Citing myself: >> Trying this *bash* command line: Oops, sorry for missing that. As for 3.9: it's not available through the 64 bit installer (at least, I don't see it there). I'll look and see what's involved in installing it. Are you running the 32-

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Mike Kaganski
Mike Kaganski added the comment: Thanks for looking at this! > Are you running from bash (or another cygwin shell), or from cmd.exe, or > something else? :) Citing myself: > Trying this *bash* command line: > To my knowledge, cygwin's installer doesn't have a 3.9 available. It does:

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Eric V. Smith
Eric V. Smith added the comment: Are you running from bash (or another cygwin shell), or from cmd.exe, or something else? How did you install the version of python you're executing in the examples you provided? To my knowledge, cygwin's installer doesn't have a 3.9 available. I don't see

[issue46751] Windows-style path is not recognized under cygwin

2022-02-14 Thread Mike Kaganski
New submission from Mike Kaganski : Using cyqwin 3.3.4-2, and python3: Python 3.9.10 (main, Jan 20 2022, 21:37:52) [GCC 11.2.0] on cygwin Trying this bash command line: > python3 C:/path/to/script.py results in this error: "python3: can't open file