开发者社区 问答 正文

python 脚本在执行cp命令的时候报错returned non-zero e?报错

我用python脚本执行cp命令时,报如下错,returned non-zero exit status 1,是什么原因啊?在线求助。。。。各位大神

展开
收起
爱吃鱼的程序员 2020-06-22 14:07:04 989 分享
分享
版权
举报
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
    cmd=['/path/to/command','args']response=subprocess.check_output(cmd,shell=False,stderr=subprocess.STDOUT)



    2020-06-22 14:07:22 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等