mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
7 lines
144 B
Python
7 lines
144 B
Python
import subprocess as sp
|
|
|
|
print(sp.c<caret>heck_output(
|
|
args=['python', '-c', 'print("Spam")'],
|
|
# read errors too
|
|
stderr=sp.STDOUT
|
|
)) |