Hi Anselm,

> The reason for going through the shell is simply because users
> demanded to have their shell profile evaluated if a command is
> invoked.

Ah, I thought is was a relic from the time when every argument was
a char pointer.

Though if it is really sh that is used (and not bash etc.), there
shouldn't be any profile loaded for a non-interactive shell, right?

> With you solution /bin/sh -c must be prefixed into these
> commands to have the same effect.

sh -c will do, it's exec*v*p ;)

Regards,
Peter

Reply via email to