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

Ivey, William william_ivey at bmc.com
Mon Jan 14 14:49:57 PST 2008


Are you sure it's in the path in the environment in which the tool
is actually run? -Wm


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Gross, Steve

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