[Issue 8708] New: Documentation for std.process.exec family is inaccurate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 22 16:14:35 PDT 2012
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: nobody at puremagic.com
ReportedBy: jmdavisProg at gmx.com
--- Comment #0 from Jonathan M Davis <jmdavisProg at 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: -------
More information about the Digitalmars-d-bugs
mailing list