Ways to Pass Password in Triggers file or Script file in Perforce
Option 1 If your Perforce server is set to security level 2 or lower you can have your trigger script run as the same user every time (typically a “background” user). Then, either have the server’s P4PASSWD environment variable set to the background user’s password, Option 2 You can also use the -P flag to … Read more