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 a3b8a65..41bfc0c 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.026423 seconds and 4 git commands to generate.