A function that captures stdout and stderr and returns them as two strings would also be nice. See Idiomatic calling other process with stdin, stdout, stderr stdlib for an example of use.
2 Likes