In message <email@hidden>, Tommy Nordgren wri
tes:
>If you want a call that uses the PATH environment variable you should
>use execvp instead of execv
He's not trying to use PATH -- he's trying to use a non-absolute path.
>Actually, I'ts preferable to use a call that Don't use the PATH
>environment variable, and specify the absolute path
>of the executable instead.
Agreed, especially because execvp doesn't search for binaries if the
path argument contains even one slash, even if it's not at the front
of the path.
-s
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden