#! /usr/bin/perl use strict; use warnings; use CGI; use CGI::Carp qw(fatalsToBrowser); my $cgi = CGI->new(); print $cgi->header(-type => 'text/html'); my $programm = '/pfad/zu/dem/Programm'; my $content = `$programm $evtl_optionen 2>%1`; # Backticks! $evtl_optionen durch parameter, die das Programm benötigt ersetzen print $content;