]> iEval git - gruntmaster-daemon.git/commitdiff
Support passing arguments to programs in Format.pm
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 3 Feb 2015 12:13:38 +0000 (14:13 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 3 Feb 2015 12:13:38 +0000 (14:13 +0200)
lib/Gruntmaster/Daemon/Format.pm

index a3b8a65fedd6af3fab66f889b79b3acccdefd9ca..41bfc0ced8c88274acb31c1c1a1cd3e4dc4a9569 100644 (file)
@@ -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}}
        }
 }
 
This page took 0.025668 seconds and 4 git commands to generate.