Help for this page
# Beware of using input from the user in $cmd. my $cmd = 'for f in a b c; do date; sleep 1; done'; ... while (<PROG>) { $conn->print($_); } close(PROG); }