Update server4.py
Browse files- server4.py +1 -1
server4.py
CHANGED
|
@@ -185,7 +185,7 @@ def Oneapi():
|
|
| 185 |
# SSH
|
| 186 |
def run_command(command):
|
| 187 |
try:
|
| 188 |
-
subprocess.run(command, check=True, shell=True)
|
| 189 |
except subprocess.CalledProcessError as e:
|
| 190 |
print(f"An error occurred: {e}")
|
| 191 |
def ssh():
|
|
|
|
| 185 |
# SSH
|
| 186 |
def run_command(command):
|
| 187 |
try:
|
| 188 |
+
subprocess.run(command, check=True, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| 189 |
except subprocess.CalledProcessError as e:
|
| 190 |
print(f"An error occurred: {e}")
|
| 191 |
def ssh():
|