in reply to Re: Can't capture STDERR to Variable
in thread Can't capture STDERR to Variable

open3 is a pretty low-level tool. It does some things quite well, but this isn't one of them. See instead: IPC::Run3, IPC::Run

PS — Your code has a race condition that could deadlock both processes since you only passed two of the three handles to select.