[Tutor] subprocess.Popen(..., cwd) and UNC paths

eryksun eryksun at gmail.com
Thu Apr 30 03:50:57 CEST 2015


On Wed, Apr 29, 2015 at 8:28 PM, eryksun <eryksun at gmail.com> wrote:
> After disabling the check, my previous example should work fine:

Except it doesn't accept paths relative to a UNC working directory:

    (test) \\127.0.0.1\C$>cd Temp
    The system cannot find the path specified.

And the cd command appears to ignore the registry setting:

    (test) \\127.0.0.1\C$>cd \\127.0.0.1\C$\Temp
    '\\127.0.0.1\C$\Temp'
    CMD does not support UNC paths as current directories.

Otherwise it works fine. ;-)


More information about the Tutor mailing list