FYI the broken pipe was caused because the external script was bad. I
failed to take into account that

#!/usr/bin/perl
use strict;

print 7;
exit 0

Is not good. It need to be a program that keeps reading from the input stream.

#!/usr/bin/perl
use strict;

while (<STDIN>){
        print 7;
}

Brain Fart today

Reply via email to