mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
8 lines
143 B
Python
8 lines
143 B
Python
import subprocess as sp
|
|
|
|
a = sp.check_output(
|
|
args=['python', '-c', 'print("Spam")'],
|
|
# read errors too
|
|
stderr=sp.STDOUT
|
|
)
|
|
print(a) |