UX: make it more obvious that group is paused after pueue kill -g
and tasks are scheduled as paused
#265
Labels
Milestone
pueue kill -g
and tasks are scheduled as paused
#265
Is your feature request related to a problem? Please describe.
I recently needed to do
pueue kill -g xargs -c
. I was later surprised to see that newly added tasks aren't executed like they normally wood.Describe the solution you'd like
After running
pueue kill -g
, print to the stderr that a group is paused. This is not necessarily an obvious consequence ofpueue kill
- note that e.g. Unix'skill
doesn't also suspend the parent of the killed process, so I'm not exactly sure where how this behavior was inspired.Also, it would be a good idea to warn the user that the group is paused if tasks are added to a paused group. Ideally, in a separate line and a different color so that it's more difficult to miss.
Describe alternatives you've considered
Additional context
Tested under Pueue client 1.0.3, installed from cargo sometime last week.
The text was updated successfully, but these errors were encountered: