Spaces:
Building
Building
Update tests.py
Browse files
tests.py
CHANGED
@@ -288,7 +288,6 @@ def run_code_files(start_cmd:str) -> dict:
|
|
288 |
@mcp.tool()
|
289 |
def run_shell_command(cmd:str) -> dict:
|
290 |
"""(cmd:Example- mkdir test.By default , the command is run inside the /app/code_interpreter/ directory.).Remember, the code_interpreter is running on **alpine linux** , so write commands accordingly.Eg-sudo does not work and is not required.."""
|
291 |
-
global stdout
|
292 |
run(cmd, 300)
|
293 |
transfer_files()
|
294 |
return {"output":stdout}
|
|
|
288 |
@mcp.tool()
|
289 |
def run_shell_command(cmd:str) -> dict:
|
290 |
"""(cmd:Example- mkdir test.By default , the command is run inside the /app/code_interpreter/ directory.).Remember, the code_interpreter is running on **alpine linux** , so write commands accordingly.Eg-sudo does not work and is not required.."""
|
|
|
291 |
run(cmd, 300)
|
292 |
transfer_files()
|
293 |
return {"output":stdout}
|