以下のように Popen を使用して「RepoInitCmd」を実行しようとしていますが、次のエラーが発生します。何が問題なのかを入力できますか?
import subprocess
Branch_Name='ab_mr2'
RepoInitCmd = 'repo init -u git://git.company.com/platform/manifest.git -b ' + Branch_Name
proc = subprocess.Popen([RepoInitCmd], stderr=subprocess.PIPE)
out, error = proc.communicate()
エラー:-
File "test.py", line 4, in <module>
proc = subprocess.Popen([RepoInitCmd], stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory