Perforce 2006.1 Command Reference
<< Previous Chapter
P4PFSIZE
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4PORT

P4POPTIONS

Description

Set Perforce Proxy options for a Windows service.

Usage Notes

Used by
Client?

Used by
Server?

Command-Line Alternative
Can be set in P4CONFIG file?

No

Yes

p4p %P4POPTIONS%

N/A

Value if not Explicitly Set

Operating System
Value

All

Null

Notes

For example, if you normally run the Proxy with the command

you can set the P4POPTIONS variable for the Windows proxysvc to run with

When you run P4P under proxysvc, the Perforce Proxy will listen to port 1999 and communicate with the Perforce Server at mainserver:1666.

Most installations do not need to use P4POPTIONS, because there are already environment variables associated with most p4p flags; in the example shown above, you can use P4PORT and P4TARGET. Use P4POPTIONS when you need to call p4p with flags for which there are no corresponding environment variables, and when you are doing so within the context of a Windows service.

For more information on setting up a Perforce Proxy, see the Perforce System Administrator's Guide.


Perforce 2006.1 Command Reference
<< Previous Chapter
P4PFSIZE
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4PORT
Please send comments and questions about this manual to [email protected].
Copyright 1999-2006 Perforce Software. All rights reserved.
Last updated: 06/23/06