www.digitalmars.com         C & C++   DMDScript  

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

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 puremagic.com
        ReportedBy: code benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <code 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: -------
Oct 26 2013