Evaluate system command/args per matched node using SingleReadonlyChildContext

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/dca841eb-3f63-4f23-adeb-556431560420

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-28 02:03:16 +00:00
committed by GitHub
co-authored by mikefarah
parent 6315cfe974
commit da611f7a2b
3 changed files with 112 additions and 86 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ a: hello
```
then
```bash
yq '.a = system("/bin/echo")' sample.yml
yq '.a = system("/usr/bin/echo")' sample.yml
```
will output
```yaml