open(PS, "./ejbreg.pl |" ) or die "Can't open script: $!";