Skip to content

support --ungroup option like GNU-parallel #21

@zakstucke

Description

@zakstucke

Love the look of the library.

Looking to replace GNU-parallel with this, but seems like --ungroup isn't an option.
In my case, I do want output interleaving as I'm running "infinite" processes, with the current --group behaviour I'll never see those logs come out.

Thanks!

P.s I've just seen in 1.16.0 the behaviour of --exit-on-error was changed to wait for in-process tasks to finish before exiting. Given my intended use case I'd also need the previous behaviour. Maybe 3 separate options needed? I.e.

  • --exit-on-error -> current behaviour
  • --kill-on-error-hard -> SIGTERM+SIGHUP all ongoing processes if any error
  • --kill-on-error-soft -> SIGKILL all ongoing processes if any error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions