Bug 17170 – ddoc shows parameters that are not used in function

Status
RESOLVED
Resolution
MOVED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2017-02-10T05:38:12Z
Last change time
2024-07-15T11:46:44Z
Assigned to
No Owner
Creator
Timothee Cour

Comments

Comment #0 by timothee.cour2 — 2017-02-10T05:38:12Z
https://dlang.org/library/std/process/pipe_process.html shows shellPath The path to the shell to use to run the specified program. By default this is nativeShell. but shellPath isn't used in pipeProcess: ProcessPipes pipeProcess( const(char[][]) args, Redirect redirect = cast(Redirect)7, const(string[string]) env = cast(const(string[string]))null, Config config = cast(Config)0, const(char[]) workDir = null ) @safe; ProcessPipes pipeProcess( const(char[]) program, Redirect redirect = cast(Redirect)7, const(string[string]) env = cast(const(string[string]))null, Config config = cast(Config)0, const(char[]) workDir = null ) @safe; https://issues.dlang.org/show_bug.cgi?id=13270 is related but different
Comment #1 by nick — 2024-07-15T11:44:16Z
ddox is missing the 3rd overload, see ddoc: https://dlang.org/phobos/std_process.html#.pipeProcess This needs to be filed for ddox.
Comment #2 by nick — 2024-07-15T11:46:44Z