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

           Summary: Documentation for std.process.exec family is
                    inaccurate
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: jmdavisp...@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-09-22 16:15:35 
PDT ---
It implies that the exec* functions return upon success, which they do not.
Rather, the new process replaces the current process, and they only return if
the exec* call fails. To quote the man page:

> The exec() functions only return if an error has have occurred. The return 
> value is -1, and errno  is set to indicate the error.

http://linux.die.net/man/3/exec
http://msdn.microsoft.com/en-us/library/3xw6zy53.aspx

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

Reply via email to