[Toybox] xexec() strips paths

Rob Landley rob at landley.net
Sun Feb 3 14:33:15 PST 2019


On 2/3/19 10:59 AM, William Djupström via Toybox wrote:
> Hello
> 
> The comment above xexec() states that it won't try to run the command as
> a builtin if it has a path, but it never checks before it calls
> toy_exec() which then calls basename on the command, stripping the path.

You're right. Fixed.

Thanks,

Rob



More information about the Toybox mailing list