Python 未使用线程调用subprocess.check_调用命令

Python 未使用线程调用subprocess.check_调用命令,python,multithreading,shell,Python,Multithreading,Shell,我正在使用subprocess.check\u调用运行以下命令 ['/home/user/anaconda3/envs/hum2/bin/bowtie2 build'、'-f'、'/media/user/extra/tmp/subhm/subhm/subhumann2\u temp/sub\u custom\u chocophlan\u database.ffn'、'/media/user/extra/tmp/subhm/subhumann2\u temp/sub\u bowtie2\u ind

我正在使用subprocess.check\u调用运行以下命令

['/home/user/anaconda3/envs/hum2/bin/bowtie2 build'、'-f'、'/media/user/extra/tmp/subhm/subhm/subhumann2\u temp/sub\u custom\u chocophlan\u database.ffn'、'/media/user/extra/tmp/subhm/subhumann2\u temp/sub\u bowtie2\u index'、'-threads 8']

但出于某种原因,它忽略了-threads参数,只在一个线程上运行。我已经在python外部使用启动线程的相同命令进行了检查。只有在从子流程调用时才会发生这种情况,您知道如何解决这个问题吗

谢谢

您正在传递'-threads 8',而不是'-threads',8'。虽然可能是“-threads=8”,但我不知道该命令