[p4] Scripting and ticket authentication
Bob Van Zant
bob at norcalttora.com
Tue Jul 17 11:56:48 PDT 2007
I started playing with the P4PASSWD env variable just today. You can put the
result of `p4 login -p` into the P4PASSWD variable. I assume that is valid
for as long as the ticket generated by p4 login is? Anyway, once that
variable is set you can skip the actual p4 login. I think.
This might help more than I just did:
http://www.perforce.com/perforce/doc.052/manuals/cmdref/env.P4PASSWD.html
-Bob
On 7/17/07 11:30 PM, "Jamison, Shawn" <sjamison at ciena.com> wrote:
> I know this has been asked before but I cant seem to find it.
>
> Is there a way to get around the prompt for windows and unix scripts
> that need to do a p4 login?
>
> It would be nice if I could supply a password in the script to obtain a
> ticket.
>
> Thanks
> -Shawn J>
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
More information about the perforce-user
mailing list