jimingham wrote: You can also use ScriptedProcesses for testing. They would allow wrapping a real process and changing the answers it hands out in some way useful to you, or just making up the process state out of whole cloth. https://github.com/llvm/llvm-project/pull/140566