1 Kasım 2020 Pazar tarihinde clime <cli...@gmail.com> yazdı:
...

> Please, provide a syntactic construct to spawn a new process group (or
> at least there should be some usable command to do that).
>
>
You can use the loadable builtin `setpgid' if you have to. Assuming
BASH_LOADABLES_BUILTIN is set, this should work:

    enable -f setpgid{,}
    { setpgid $BASHPID{,}; a | b; } &
    setpgid $!{,}
    kill -- -$!



> Thank you
> clime
>
>

-- 
Oğuz

Reply via email to