open (PIPE, "/path/to/tail -n 10 /path/to/logfile |");