aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2016-03-15 21:48:02 +0100
committerLaurent Bachelier <laurent@bachelier.name>2016-03-15 21:48:02 +0100
commitd8e65319d6f5adc86b7e31aeeefdfcba4cca7cf0 (patch)
tree9b3058457be5392504aa0ed55160df17e89ffb9f
parentMissing word (diff)
downloadbrutha-d8e65319d6f5adc86b7e31aeeefdfcba4cca7cf0.tar.xz
Force parallel to read from stdin
-rw-r--r--brutha/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/brutha/output.py b/brutha/output.py
index 6f1e456..c350a3f 100644
--- a/brutha/output.py
+++ b/brutha/output.py
@@ -77,7 +77,7 @@ class Parallel(Shebang, Output):
p = uprint(stream)
verbose = ' --verbose' if self.echo else ''
jobs = ' --jobs %s' % self.jobs if self.jobs else ''
- p('#!%s --shebang --eta%s%s --' % (require_executable('parallel'), jobs, verbose))
+ p('#!%s --shebang --eta%s%s -- -' % (require_executable('parallel'), jobs, verbose))
for i, subcommands in enumerate(commands):
p(" && ".join(subcommands + [pbar(i+1, len(commands))]))