Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -476,7 +476,7 @@ async def exe(websocket,connected,key):
|
|
476 |
# await execute_command(websocket, key,event["project_name"], event["command"]["command"], connected)
|
477 |
# base_path = os.path.join(os.getcwd(), 'projects', key,event["project_name"])
|
478 |
print(base_path)
|
479 |
-
mod_command = f'cd {base_path}&& {command}'
|
480 |
|
481 |
try:
|
482 |
process = await asyncio.create_subprocess_shell(
|
|
|
476 |
# await execute_command(websocket, key,event["project_name"], event["command"]["command"], connected)
|
477 |
# base_path = os.path.join(os.getcwd(), 'projects', key,event["project_name"])
|
478 |
print(base_path)
|
479 |
+
mod_command = f'cd {base_path}&& {event["command"]["command"]}'
|
480 |
|
481 |
try:
|
482 |
process = await asyncio.create_subprocess_shell(
|