Fixes #6550 Use shell for pipe lookup subprocess.popen calls