E
ed
is it possible to get the exit status of a program that is started using
IPC::Open3?
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open3;
my $bpid = open3( my $bwr, my $brd, my $ber, "ls -al /fdsfsdfsfs" );
close($bwr);
close($brd);
print( $? );
this should close with exit 2 on my system, but i cannot seem to capture
the exit code at all.
IPC::Open3?
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open3;
my $bpid = open3( my $bwr, my $brd, my $ber, "ls -al /fdsfsdfsfs" );
close($bwr);
close($brd);
print( $? );
this should close with exit 2 on my system, but i cannot seem to capture
the exit code at all.