import sys

from easyprocess import EasyProcess

python = sys.executable
cmd = [
    python,
    "-c",
    'print("hello")',
]
s = EasyProcess(cmd).call().stdout
print(s)

from easyprocess import EasyProcess

cmd = ["echo", "hello"]
s = EasyProcess(cmd).call().stdout
print(s)

simplify hello.py