Draft documentation and option parsing for a "--monitor" option to run a command and monitor its input and output (#67).

This commit is contained in:
Andrew Wood
2026-03-11 23:37:09 +00:00
parent a33ee8ef26
commit 5f1893f094
5 changed files with 46 additions and 2 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ typedef enum {
PV_ACTION_STORE_AND_FORWARD, /* store to file, then output from it */
PV_ACTION_WATCHFD, /* watch process file descriptors */
PV_ACTION_REMOTE_CONTROL, /* remotely control another pv */
PV_ACTION_QUERY /* watch the state of another pv */
PV_ACTION_QUERY, /* watch the state of another pv */
PV_ACTION_MONITOR /* run a process, watch its stdin/out */
} pvaction_t;
/*