Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -242,6 +242,7 @@ async def wirte_file(websocket, key,project_name, path, content, connected):
|
|
242 |
|
243 |
async def execute_command(websocket, key,project_name, command, connected):
|
244 |
base_path = os.path.join(os.getcwd(), 'projects', key,project_name)
|
|
|
245 |
mod_command = f'cd {base_path}&& {command}'
|
246 |
|
247 |
try:
|
|
|
242 |
|
243 |
async def execute_command(websocket, key,project_name, command, connected):
|
244 |
base_path = os.path.join(os.getcwd(), 'projects', key,project_name)
|
245 |
+
print(base_path)
|
246 |
mod_command = f'cd {base_path}&& {command}'
|
247 |
|
248 |
try:
|