Contents:
Command line options
The PTK launch script (PTK.pyw or PTK on linux) also has several command line options shown in the table below:| Option | Argument(s) | Description |
|---|---|---|
| --help (or -h) | None | Show the command line options help text. |
| --files (or -f) | FILENAME(S) | Start PTK (if not already open) and open the file filename(s) in the editor |
| --debug (or -d) | None | Enable logging of debug statements. |
| --clear_settings (or -c) | None | Clear all PTK settings (fix GUI docking manager problems) |
The PTKengine script (PTKengine.pyw or PTKengine on linux) is used to start engines and takes the following argumnets:
PTKengine TYPE [LABEL] (--connect HOST PORT OR --listen PORT ALLOW_EXT)
Where:
| Option | Argument(s) | Description |
|---|---|---|
| Required | TYPE | Engine type: "py", "wx", "gtk", "qt4", "tk" or "pyside" |
| Optional | LABEL | Optional engine label/name to be displayed in PTK |
| --connect (or -c) | HOST PORT | Connect to PTK application |
| --listen (or -l) | PORT ALLOW_EXT | Listen for connecting PTK application on PORT and allow external conections (ALLOW_EXT = TRUE/FALSE) |
| --file (or -f) | FILENAME | Execute file after starting |
| --debug (or -d) | None | Enable debug log |