Ramesh-vani commited on
Commit
cca50a8
·
verified ·
1 Parent(s): 53f7550

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(