my $stdout = IO::Select->new(); my $stdout_handle = IO::Handle->new(); my $pid = open3( undef, $stdout_handle, undef, $command ); ...error handling... $stdout->add($stdout_handle);