open PIPE, "$befehl |" or die $!; while () {  print "output: $_"; } close PIPE or die $?;