#!./perl -w
BEGIN {
chdir 't' if -d 't';
# open2/3 supported on win32 (but not Borland due to CRT bugs)
{
print "1..0\n";
exit 0;
}
# make warnings fatal
}
use strict;
#require 'open2.pl'; use subs 'open2';
sub ok {
print "ok $n\n";
}
else {
print "not ok $n\n";
}
}
sub cmd_line {
}
else {
return $_[0];
}
}
print "1..7\n";
$reaped_pid = waitpid $pid, 0;
ok 6, $reaped_pid == $pid, $reaped_pid;
ok 7, $? == 0, $?;