[p4] Tools question: path to search for executable?

Gross, Steve SGross at sjm.com
Mon Jan 14 14:19:51 PST 2008


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



More information about the perforce-user mailing list