[Issue 15915] std.process.execute throws an exception when using workDir and a relative path

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 12 05:02:32 PDT 2016


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |schveiguy at yahoo.com
         Resolution|---                         |INVALID

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
You are misunderstanding what workDir is.

>From the documentation:

"The working directory for the new process. By default the child process
inherits the parent's working directory."

In other words, this is the directory the process is started in, not the
directory to look for an executable.

--


More information about the Digitalmars-d-bugs mailing list