From 3d85666da5672c032132621fd31145651ff96a71 Mon Sep 17 00:00:00 2001 From: Schneems Date: Fri, 29 Nov 2024 15:56:21 -0600 Subject: [PATCH] Changelog --- CHANGELOG.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 385f310..8ff0419 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ ## HEAD +- Add: Rundoc command `background.stdin_write` to send a string to a backtround process' STDIN. This allows driving REPL interfaces (https://github.com/zombocom/rundoc/pull/79) + +``` +:::>- background.start("ruby #{script}", + name: "script", + wait: ">", + timeout: 15 +) +:::-- background.stdin_write("hello", name: "script", wait: "hello") +:::-- background.stdin_write("exit", name: "script", wait: "exit") +:::>> background.stop(name: "script") +``` + ## 3.1.2 - Fix: Using `rundoc.require` inside of a document that was `rundoc.require`-d now sources files from the correct relative document path (https://github.com/zombocom/rundoc/pull/84) @@ -11,7 +24,7 @@ ## 3.1.0 -- Add: `--with-contents` flag that accepts a directory. The **contents** of the directory (and not the directory itself) will be copied into the working dir before execution. This is useful for debugging a single rundoc step. () +- Add: `--with-contents` flag that accepts a directory. The **contents** of the directory (and not the directory itself) will be copied into the working dir before execution. This is useful for debugging a single rundoc step. (https://github.com/zombocom/rundoc/pull/83) For example if `RUNDOC.md` features many smaller docs: