We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12e7a6 commit b2402a2Copy full SHA for b2402a2
subprocess/basics_unix.py
@@ -2,6 +2,6 @@
2
3
# LINUX examples
4
5
-subprocess.run(["sh", "ls"])
+subprocess.run(["sh", "-c", "ls"])
6
7
subprocess.run(["ls"], shell=True)
0 commit comments