#!/usr/bin/perl -w use strict; open(STATUS, "./skript1.pl 2>&1 |"); while () { print; } close STATUS;