#889632 parallel: Option --nice not having effect anymore.

Package:
parallel
Source:
parallel
Submitter:
Charles Plessy
Date:
2021-12-26 11:33:02 UTC
Severity:
normal
Tags:
#889632#5
Date:
2018-02-05 07:45:47 UTC
From:
To:
Hello,

with an old version of parallel, the `--nice` option sets the niceness of the process.

    $ parallel --version
    GNU parallel 20130922
    [...]

    $ parallel -vv --dry-run --nice 10 echo ::: hello
    \nice -n10 /bin/bash -c echo\ hello

However, with the version in Stretch, it does not work anymore.

    $ parallel --version
    GNU parallel 20161222
    [...]

    $ parallel -vv --dry-run --nice 10 echo ::: hello
    echo hello

Cheers

Charles

#889632#10
Date:
2021-12-17 09:10:03 UTC
From:
To:
Hi Ole,

I was able to reproduce the issue below with the Debian packaged version
20210822.

Kind regards

      Andreas.

Am Mon, Feb 05, 2018 at 04:45:47PM +0900 schrieb Charles Plessy:

#889632#19
Date:
2021-12-26 11:30:10 UTC
From:
To:
Testing with a `sleep 60` shows the nice level to be set correctly.
Just --dry-run doesn't show command prefixes any more.

(tested with the latest upstream as I looked at the source due to #915541)