In reply to @isofruit "Could try to have": I have been reviewing `src/expect.nim` from `cap10` ... there are some conditions that I think would need to be cleaned up, like closing the session and fd if the process exits unexpectedly instead of allowing the fd to be inspected for errors, but generally I think it might be a good starting point for what I need. Though, I also think I would need a way to setup the ExpectObject to not require spawning a cmd and instead pass in descriptors directly.