subprocess.Popen(): OSError: [Errno 8] Exec format error in python?

前端 未结 7 2114
余生分开走
余生分开走 2020-12-06 09:07

Yesterday, I wrote and ran a python script which executes a shell using subprocess.Popen(command.split()) where command is string whic

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-06 09:25

    The error message suggests that the external program is not a valid executable.

提交回复
热议问题