Invoke: How to run parallel tasks?

Created on 31 Mar 2019  Â·  4Comments  Â·  Source: pyinvoke/invoke

How to run pararell tasks as run two daemons or two api processes/services?
Thanks

Most helpful comment

@juanAFernandez Could you kindly correct the spelling error ("pararell" to "parallel") in the title of this important issue, so it can be found more easily?

All 4 comments

If anyone has found any good hacks in Invoke for this I'm interested as well, I just switched over to sh for processes which need to be backgrounded.

@juanAFernandez Could you kindly correct the spelling error ("pararell" to "parallel") in the title of this important issue, so it can be found more easily?

Done! :)

Like many of its predecessors, it offers advanced features as well – namespacing, task aliasing, before/after hooks, parallel execution and more.

Parallel execution is specifically called out on the home page of the website but I've done a search through the code and found zero references to the world parallel other than in tests and in doc. Could someone clarify if there is any parallel execution feature? If not, then the doc should probably cleaned up.

I was expecting to find something similar to fabric's @parallel(pool_size).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukeorland picture lukeorland  Â·  7Comments

PatrickMassot picture PatrickMassot  Â·  6Comments

lsh-0 picture lsh-0  Â·  5Comments

MinchinWeb picture MinchinWeb  Â·  10Comments

hindman picture hindman  Â·  12Comments