how subprocess works in python code example
Example: subprocess python
import subprocess
import sys
result = subprocess.run([sys.executable, "-c", "print('ocean')"])
import subprocess
import sys
result = subprocess.run([sys.executable, "-c", "print('ocean')"])