我认为这是因为您正在尝试使用系统命令,而不是Bash来支持这些I/O重定向标志。
试试这个 shell=True https://docs.python.org/2/library/subprocess.html#subprocess.call
shell=True