Help for this page
open TEMP,"cleartool checkout -nc $element_pathname 2>&1 |" or die "Failed to checkout: $!"; # Read from TEMP as usual, but now we also have STDERR
use IPC::Open3; my $pid = open3 IGNORE,TEMPOUT,TEMPERR, 'cleartool',"checkout -nc $element_pathname" ... } # Don't forget to reap it! waitpid $pid,0;