Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 14, 2014 Bug in Phobos' process.d: "Executable file not found" is supposed to show executabloe name but fails | ||||
---|---|---|---|---|
| ||||
I found a bug in Phobos library, but failed to find a way to report it. I do not see "Issues" tab on page https://github.com/D-Programming-Language/phobos, so I'll report the bug here. Look at file process.d line ~360, it is the very beginning of function spawnProcessImpl: const(char)[] name = args[0]; if (any!isDirSeparator(name)) { if (!isExecutable(name)) throw new ProcessException(text("Not an executable file: ", name)); } else { name = searchPathFor(name); if (name is null) throw new ProcessException(text("Executable file not found: ", name)); } Look at the "else" clause. If function searchPathFor failed, we are throwing an error "Executable file not found: ", which is supposed to include name of executable file. But name at this moment is null... :-( |
May 14, 2014 Re: Bug in Phobos' process.d: "Executable file not found" is supposed to show executabloe name but fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to Van de Bugger | On Wed, May 14, 2014 at 01:02:26PM +0000, Van de Bugger via Digitalmars-d wrote: > I found a bug in Phobos library, but failed to find a way to report it. I do not see "Issues" tab on page https://github.com/D-Programming-Language/phobos, so I'll report the bug here. Please report bugs to: http://d.puremagic.com/issues Or better yet, submit a pull request. ;-) T -- EMACS = Extremely Massive And Cumbersome System |
May 14, 2014 Re: Bug in Phobos' process.d: "Executable file not found" is supposed to show executabloe name but fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Wednesday, 14 May 2014 at 13:37:27 UTC, H. S. Teoh via Digitalmars-d wrote: > On Wed, May 14, 2014 at 01:02:26PM +0000, Van de Bugger via Digitalmars-d wrote: >> I found a bug in Phobos library, but failed to find a way to report >> it. I do not see "Issues" tab on page >> https://github.com/D-Programming-Language/phobos, so I'll report the >> bug here. > > Please report bugs to: > > http://d.puremagic.com/issues > The new URL is: https://issues.dlang.org/ But the old site (still) redirects there. |
May 15, 2014 Re: Bug in Phobos' process.d: "Executable file not found" is supposed to show executabloe name but fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to Van de Bugger | On Wednesday, 14 May 2014 at 13:02:27 UTC, Van de Bugger wrote:
> I do not see "Issues" tab on page https://github.com/D-Programming-Language/phobos
Did you read the project's readme?
|
Copyright © 1999-2021 by the D Language Foundation