aboutsummaryrefslogtreecommitdiff
path: root/tools/wdye/wdye.adoc
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2025-01-07 03:07:39 +0100
committerPřemysl Eric Janouch <p@janouch.name>2025-01-07 03:16:37 +0100
commit51231d84baff8a936e1155d2ee2eee3b4d9117ce (patch)
treee15544474ccea573872dec3287b78c01d00f0e65 /tools/wdye/wdye.adoc
parent6c47e384f512e5eab14180c6913323783a0def11 (diff)
downloadliberty-51231d84baff8a936e1155d2ee2eee3b4d9117ce.tar.gz
liberty-51231d84baff8a936e1155d2ee2eee3b4d9117ce.tar.xz
liberty-51231d84baff8a936e1155d2ee2eee3b4d9117ce.zip
wdye: clean up, add process.pid
Diffstat (limited to 'tools/wdye/wdye.adoc')
-rw-r--r--tools/wdye/wdye.adoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/wdye/wdye.adoc b/tools/wdye/wdye.adoc
index 98e251e..2609849 100644
--- a/tools/wdye/wdye.adoc
+++ b/tools/wdye/wdye.adoc
@@ -31,7 +31,7 @@ The *env* map may be used to override environment variables, notably _TERM_.
Variables evaluating to _false_ will be removed from the environment.
The program's whole process group receives SIGKILL when the _process_
-is garbage-collected.
+is garbage-collected, unless *wait* has collected the process group leader.
wdye.expect ([pattern1, ...])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -57,6 +57,10 @@ PROCESS.buffer
~~~~~~~~~~~~~~
A string with the _process_' current read buffer contents.
+PROCESS.pid
+~~~~~~~~~~~
+An integer with the _process_' process ID, or -1 if *wait* has collected it.
+
PROCESS.term
~~~~~~~~~~~~
A table with the _process_' *terminfo*(5) capabilities,