digitalmars.D - Typos in std.process.execute documentation?
- Nikhil Padmanabhan (16/16) Dec 08 2013 Hi,
- Craig Dillabaugh (13/29) Dec 09 2013 You can access the Phobos source code on Github:
Hi,
I just noticed what looks like two typos in the
std.process.execute documentation :
1/
auto dmd = execute("dmd", "myapp.d");
should be
auto dmd = execute(["dmd", "myapp.d"]);
2/
if (status ==0)
should be
if (status !=0)
Should I file a bug report, or is there a way I can simply submit
a correction for review? Sorry if I missed the instructions
somewhere....
Thanks!
-- Nikhil
Dec 08 2013
On Sunday, 8 December 2013 at 21:33:25 UTC, Nikhil Padmanabhan
wrote:
Hi,
I just noticed what looks like two typos in the
std.process.execute documentation :
1/
auto dmd = execute("dmd", "myapp.d");
should be
auto dmd = execute(["dmd", "myapp.d"]);
2/
if (status ==0)
should be
if (status !=0)
Should I file a bug report, or is there a way I can simply
submit a correction for review? Sorry if I missed the
instructions somewhere....
Thanks!
-- Nikhil
You can access the Phobos source code on Github:
https://github.com/D-Programming-Language
The documentation is in DDOC and is included in the source file
(like DOxygen if you aren't already familiar) so you can edit the
sample code there in the file for std.process.execute. If your
corrections are wrong, someone will let you know.
Note that the website sometimes lags the actual DDOC in Phobos,
so your bugs may have already been corrected by someone else (I
thought I had found one once too.)
Cheers,
Craig
Dec 09 2013








"Craig Dillabaugh" <craig.dillabaugh gmail.com>