From 00d76784f42408bdf46a8b1e753536f033fd9e08 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 5 Feb 2020 19:53:50 +0100 Subject: 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. --- doc/foot.1.scd | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') 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. -- cgit v1.3