PFTrack Documentation Command Line Usage  

Command Line Arguments

Please note: command line control of PFTrack is only available to Enterprise customers.

Specifying command line arguments can be tricky on Windows and macOS, where launching the application from the Start Menu or Finder is more common rather than using a terminal command. To help with this situation, command line arguments can also be specified using the environment variable PFTRACK_COMMAND_LINE_ARGS as well as on the command line itself.

Environment variables themselves can also be difficult to specify on certain operating systems, and to help with this they can be read from an environment.txt file located either in the directory where the application is installed (so that it applies to all users) or in a specific user's documents directory:

environment.txt

The contents of this file should as follows:

PFTRACK_COMMAND_LINE_ARGS= -command1 -command2

where command1 and command2 are commands to be executed when the application starts.

Note though without a terminal to observe any information or errors executing the command line arguments generate, specifying them like this can be of limited use. However, an important exception would be for specifying the command port to allow remote control of PFTrack which is described below.