Thread overview
Bug in Phobos' process.d: "Executable file not found" is supposed to show executabloe name but fails
May 14, 2014
Van de Bugger
May 14, 2014
H. S. Teoh
May 14, 2014
Marc Schütz
May 15, 2014
Kagamin
May 14, 2014
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
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
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
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?