[Issue 11363] New: std.process should offer a way to run a executable with a given working directory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 26 07:27:40 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11363

           Summary: std.process should offer a way to run a executable
                    with a given working directory
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <code at benjamin-thaut.de> 2013-10-26 07:27:38 PDT ---
The documentation of std.process does not give a example how to run a command
in a different working directory. Reading the source code I got the opinion
that this feature is simply not implemented. It would be great if this feature
would be added to std.process.

It should be trivial to implement on windows as CreateProcess already offers a
parameter for specifying the working directory. I don't know however what the
situation on linux and mac is.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list