OSError: [Errno 8] Exec format error

后端 未结 5 1092
孤街浪徒
孤街浪徒 2020-12-05 13:09

I am having hard time parsing the arguments to subprocess.Popen. I am trying to execute a script on my Unix server. The script syntax when running on shell prompt is as fol

5条回答
  •  情歌与酒
    2020-12-05 13:37

    I will hijack this thread to point out that this error may also happen when target of Popen is not executable. Learnt it hard way when by accident I have had override a perfectly executable binary file with zip file.

提交回复
热议问题