kill, AFAIK, only works on running processes. If they are executing sequentially, only one of them is "running", the rest is ... waiting? queued? (what I want to say is: they probably are not "processes" yet)
So you have to remove them from the queue (or whatever), preferrably before killing the first, in order to avoid race conditions.
In reply to Re^3: Kill a serial of jobs with a button click in Perl/TK
by soonix
in thread Kill a serial of jobs with a button click in Perl/TK
by Janish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |