|
From: | Kevin, Wang |
Subject: | GNU Parallel Bug Reports GNU parallel options "halt soon, failed=1" does not work in Ubuntu 16.04 LTS |
Date: | Sun, 14 Aug 2016 22:17:10 +0800 |
Hi, experts I am a programmer form China and I love the GNU parallel tool very much, It really a powerful tool and very cool, thanks for your contributions all the way to create this amazing tool! I found a bug these days when I was using options like “halt soon, failed=1”in Ubuntu 16.04 LTS, below is some commands and outputs, could you help to check why does it not exit right now when one of the subprocess exit with non zero? address@hidden:~/work# uname -a Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux address@hidden:~/work# cat /etc/issue Ubuntu 16.04 LTS \n \l address@hidden:~/work# parallel -j200% --halt now,fail=1 echo {}\; exit {} ::: 0 0 1 2 3;echo "exit code is :$?" 0 0 1 2 3 exit code is :0 address@hidden:~/work# set -xeu -o pipefail && parallel -j200% --halt now,fail=1 echo {}\; exit {} ::: 0 0 1 2 3;echo "exit code is :$?" + parallel -j200% --halt now,fail=1 echo '{};' exit '{}' ::: 0 0 1 2 3 0 0 1 2 3 + echo 'exit code is :0' exit code is :0 发送自 Windows 10 版邮件应用 |
[Prev in Thread] | Current Thread | [Next in Thread] |