
解決したい事
subprocess.run()の下記エラーを解消する方法が知りたいです。
error
1FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
python
1import subprocess 2proc = subprocess.run(["ls"],stdout = subprocess.PIPE, stderr = subprocess.PIPE) 3print(proc.stdout.decode("utf8")) 4
環境
- Windows10
- Spyder(Python 3.7)
コピペ&参考にさせていただいたサイト

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2018/12/04 04:22