How to execute '<(cat fileA fileB)' using python?
问题 I am writing a python program that uses other software. I was able to pass the command using subprocess.popen . I am facing a new problem: I need to concatenate multiples files as two files and use them as the input for the external program. The command line looks like this: extersoftware --fq --f <(cat fileA_1 fileB_1) <(cat fileA_2 fileB_2) I cannot use shell=True because there are other commands I need to pass by variables, such as --fq .(They are not limited to --fq, here is just an