Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.395 kb
#! /usr/bin/perl
use strict;
# Untaint our arguments (we're very trusting):
my ($stderr) = ((shift @ARGV) =~ /^(.+)$/s) or die 'No stderr';
my ($program) = ((shift @ARGV) =~ /^(.+)$/s) or die 'No program';
open(STDERR, '>', $stderr) or die "Can't redirect STDERR to $stderr: $!";
$0 = $program;
do $program;
die $@ if $@;
die "Couldn't run $program: $!"; # Ack doesn't return, it calls exit
Jump to Line
Something went wrong with that request. Please try again.