From: Marius Gavrilescu Date: Tue, 3 Feb 2015 12:13:38 +0000 (+0200) Subject: Support passing arguments to programs in Format.pm X-Git-Tag: 5999.000_005~64 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=77ba721e63ff4f879856a16f4e059fd6ead4d9b6;p=gruntmaster-daemon.git Support passing arguments to programs in Format.pm --- diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index a3b8a65..41bfc0c 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -82,7 +82,7 @@ sub mkrun{ while (my ($fd, $file) = $it->()) { push @args, "--fd=$fd $file"; } - execlist $basename, @args, "./$basename" + execlist $basename, @args, '--', "./$basename", @{$args{args}} } }