[p4] Tools question: path to search for executable?
Steve Williams
stevewilliams at kromestudios.com
Mon Jan 14 15:25:24 PST 2008
Could it be similar to the repository hooks in Subversion where the
hooks are executed with an empty environment, i.e. no path?
--
Sly
Gross, Steve wrote:
> I'm writing a custom tool that runs an app named 'foo'. foo is
> executable and in the path; however, the tool reports "unable to run
> foo" if I only specify the name 'foo' in the custom tool. If I list the
> full path (/usr/local/scm/bin/foo), it does indeed run.
>
> Is there a solution to this? I prefer NOT to list the absolute path, in
> case the file is relocated.
>
> Thanks,
> --Steve
>
>
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
More information about the perforce-user
mailing list