diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-05 18:53:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-05 18:53:50 +0000 |
| commit | 00d76784f42408bdf46a8b1e753536f033fd9e08 (patch) | |
| tree | 91840c29917ceeca3ec2b8fc4a6c92cb6f54c422 /doc | |
| parent | term: always read *all* we can from the client before updating state (diff) | |
main: add --print-pid=FILE|FD
When specified, our PID is written to the specified file (or FD),
after we've successfully started up.
Only applicable in server mode.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.1.scd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd index 0cb1235c..b555ba90 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -65,6 +65,13 @@ execute (instead of the shell). *--hold* Remain open after child process exits. +*-p*,*--print-pid*=_FILE_|_FD_ + Print PID to this file, or FD, when successfully started. The file + (or FD) is closed immediately after writing the PID. When a _FILE_ + as been specified, the file is unlinked when yambar exits. + + This option can only be used in combination with *-s*,*--server*. + *-v*,*--version* Show the version number and quit. |
