[darcs-devel] [issue1545] something calls getEnv for $PATH, but it throws if it does not exist

Attila Lendvai bugs at darcs.net
Fri Oct 9 21:20:33 UTC 2009


Attila Lendvai <attila.lendvai at gmail.com> added the comment:

fyi, i had to add "PATH=/usr/bin" for the environment when we invoke darcsweb
with our home-grown cgi engine.

i think this happens because darcs invokes the diff executable from the path,
which is a bit surprising... it should at least emit a useful error message
along the line of "hey, i need to exec diff and i cannot find it in the PATH!"

other than that, now everything works here.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1545>
__________________________________


More information about the darcs-devel mailing list