import subprocess subprocess.run("node --version", shell=True)