You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
357 B

"""EasyEngine shell executaion functions."""
import os
import sys
import subprocess
from subprocess import Popen
class EEShellExec():
"""Method to run shell commands"""
def __init__():
pass
def cmd_exec(command):
try:
retcode = subprocess.getstatusoutput(command)
except OSError as e:
print(e)