site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com In message <8EDA245D-A958-4376-A379-4331AF6FBAB3@comhem.se>, 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
seebs@seebs.net