Process substitution not allowed by Python’s subprocess with shell=True?

/bin/sh: 1: Syntax error: “(” unexpected

You have a bashism. It is not valid according to POSIX, which is what /bin/sh implements.

Leave a Comment