www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23446] New: spawnProcess ignores the working directory

https://issues.dlang.org/show_bug.cgi?id=23446

          Issue ID: 23446
           Summary: spawnProcess ignores the working directory
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: torhu yahoo.com

spawnProcess ignores the workDir argument, but spawnShell does not.

I tried with both DMD 2.100.2 and 2.101.0-beta.1, same result. And when I check
it in Process Monitor, I can see that the working directory is being accessed
at all. But if I switch to using spawnShell, it is.

--
Oct 30 2022