Thread Konsolenausgabe von Funktion system() in String umleiten möglich??
(4 answers)
Opened by heinzdeb at 2011-05-11 16:25 Code (perl): (dl
)
1 2 3 4 5 6 open(my $h, '-|', 'ping -c 1 127.0.0.1') or die($!); while(<$h>) { print "PING: $_"; } close($h) or die($!); Last edited: 2011-05-11 16:41:49 +0200 (CEST) |