Comment 3 for bug 709517

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 709517] Re: testsuite fails when /sbin missing from PATH

On Mon, 2011-01-31 at 13:35 +0000, Loïc Minier wrote:
> Let's add a cmd_runner.Popen optional arg which ensures that a specific
> directory is amended to PATH if missing? we would use this when calling
> commands which might be outside of a sane PATH such as /sbin and
> usr/sbin or in custom directories (I'm thinking of linaro-hwpack-install
> in the chroot, if we move it to a non-standard directory).

But then how is this any different than providing the full path to the
binary when it's not in a standard location?