Signed-off-by: Orion Poplawski orion@nwra.com
The command is executed with /bin/sh, and as far as I can tell |& is not supported in POSIX shells. 2>&1 | might be better.
/bin/sh
|&
2>&1 |
Agree, I will modify the PR that way. Thanks both.
Commit 3bf32cda fixes this pull-request
Pull-Request has been merged by onosek
Are you sure that it is always executed with /bin/sh? I thought it might be executed with /bin/tcsh if that was the user's shell. But what ever works.
Good point. The documentation only says On Unix with shell=True, the shell defaults to /bin/sh. But even if it uses user's preferred shell, it could happen that someone prefers something that does not support this operator.
Signed-off-by: Orion Poplawski orion@nwra.com