Package: task-spooler
Version: 1.0-1

Dear Mantainer,

I have tried to use task spooler in order to launch 2 tasks (a1,a2) in
parallel, followed by 3 tasks (b1,b2,b3) in parallel.
To this end, I have increased the maximum number of slots to 3, with
the option -S [number of slots].

I would like the b1,b2,b3 tasks to wait until the task a1 (or a2, or
both) is completed.

I have tried using the -w option as per the manual; however it does
not appear to work. For instance, if I specify the id
of the previous process, e.g. tsp -w [id] echo "hello world", the
command seems to hang until the process [id] is finished,
and then nothing happens.

On the other hand, if I use the option -D [id], which does the same
thing but also checks if the task [id] finished well, it
seems to work as intended. However, simply using option -D instead of
option -w is not ok in my application, since the tasks a1,a2
and b1,b2,b3 are independent and the latter should start even if the
former return an error.

Are you able to replicate the bug and, if so, could you please provide a fix?

I am using Debian GNU/Linux 9.4, kernel Linux 4.9.0-6-amd64 (SMP w/2
CPU cores) and libc6 2.24-11+deb9u3

Thank you,
DM

Reply via email to