diff options
Diffstat (limited to 'tools/wdye/wdye.adoc')
-rw-r--r-- | tools/wdye/wdye.adoc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/wdye/wdye.adoc b/tools/wdye/wdye.adoc index d901400..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, @@ -126,6 +130,12 @@ Example rot13:send "Hello\r" expect(rot13:exact {"Uryyb\r"}) +Environment +----------- +*WDYE_LOGGING*:: + When this environment variable is present, *wdye* produces asciicast v2 + files for every spawned program, in the current working directory. + Reporting bugs -------------- Use https://git.janouch.name/p/liberty to report bugs, request features, |