Can't execute shell script from python subprocess: permission denied

后端 未结 2 1250
夕颜
夕颜 2020-12-10 11:12

Tried googling but couldn\'t find something that relates to my particular problem. I\'m trying to run a shell script from python but the shell script wouldn\'t run because o

2条回答
  •  心在旅途
    2020-12-10 11:18

    Check your run.sh mode, if no executable flag, set it with command

    chmod +x run.sh
    

提交回复
热议问题