Popen error: “[Errno 2] No such file or directory” when calling shell function February 27, 2023 by Tarik Try add an extra parameter shell=True to the Popen call.