You have a number of ways to address this task. You could use bash/linux level job controls and run the tasks in the background with bg
and then wait
for them to complete. Documentation explaining this style of control mechanism.
If you still really wanted to use Fabric/Python for this, you'd likely need to use the job_queue
that's already in the lib and sorta write your own queue to push these into, or read up on multiprocessing and just do some simple python forking. Though that is essentially all the job_queue
is doing.