darkguy2008 / parallelshell

Run multiple shell commands in parallel
501 stars 44 forks source link

Difference between GNU Parallel? #33

Closed ole-tange closed 7 years ago

ole-tange commented 9 years ago

Can you explain what the difference is between parallelshell and GNU Parallel? Specifically:

parallel --halt now,fail=1 ::: "echo 1" "echo 2" "echo 3"

keithamus commented 9 years ago

Hey @ole-tange thanks for the issue.

The biggest difference is that parallelshell is an npm module and gnu parallel isn't. While they probably do similar things, albeit (gnu) parallel being more advanced, parallelshell is an easier option to work with when using npm (because it's an npm module).

If you have gnu parallel installed on all the machines you project will be on, then by all means use it!

anko commented 8 years ago

Perhaps the readme could mention it? For those who know GNU Parallel already, seeing it mentioned in the first paragraph would quickly explain the purpose of this module.

mirzazeyrek commented 7 years ago

@anko It's not a nagware I suppose.

darkguy2008 commented 7 years ago

I added @keithamus explanation to the Readme file so it's clearer. Thanks!