我在将 check_call 语句转换为 subprocess.Popen 时遇到了以下错误,我想我在搞砸“&&”,有人可以帮忙解决它吗?
check_call("git fetch ssh://username@company.com:29418/platform/vendor/company-proprietary/radio %s && git cherry-pick FETCH_HEAD" % change_ref , shell=True)
proc = subprocess.Popen(['git', 'fetch', 'ssh://username@company.com:29418/platform/vendor/company-proprietary/radio', change_ref , '&& git' , 'cherry-pick', 'FETCH_HEAD'], stderr=subprocess.PIPE)
Error:-
fatal: Invalid refspec '&& git