Skip to content
Browse files

Updated to original source of runN including usage() from: http://per…

  • Loading branch information...
1 parent 0c0f988 commit 332c83bed4378bfaf73cc9ecc24722708d835a2a @sensespidey committed Apr 19, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 bin/runN
View
11 bin/runN
@@ -29,3 +29,14 @@ sub spawn {
exec @_;
die "exec: $!";
}
+
+sub usage {
+ print STDERR "Usage: $0 [-n N] [-r] [-v] command arg1 arg2...
+Run command arg1, command arg2, etc., concurrently.
+Run no more than N processes simultaneously (default 1)
+ -r: run commands in random order instead of specified order (unimpl.)
+ -v: verbose mode
+";
+ exit 1;
+}
+

0 comments on commit 332c83b

Please sign in to comment.
Something went wrong with that request. Please try again.