Subprocess.call or Subprocess.Popen cannot use executables that are in PATH (Linux/Windows)

前端 未结 4 1838
陌清茗
陌清茗 2021-01-02 00:14

I\'m writing a programme that needs to run on both Linux and Windows and use executables (with parameters) that exist in the path. (Assumed)

Currently I\'m having tr

4条回答
  •  误落风尘
    2021-01-02 01:06

    A colleague of mine has reproduced this issue with Python 3.6.5 on Windows 10 64-bits.

    The installed version of Python was however 32-bits.

    Re-installing 64-bits version of Python fixed this issue.

提交回复
热议问题