mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 20:55:09 +01:00
fix execute
This commit is contained in:
@@ -143,10 +143,11 @@ def execute_entrypoint(ai, dbs):
|
|||||||
print()
|
print()
|
||||||
print(command)
|
print(command)
|
||||||
print()
|
print()
|
||||||
print('If yes, press enter. If no, type "no"')
|
print('If yes, type "yes". If no, press enter.')
|
||||||
print()
|
print()
|
||||||
if input() == "no":
|
if input().lower() != "yes":
|
||||||
print("Ok, not executing the code.")
|
print("Ok, not executing the code.")
|
||||||
|
return []
|
||||||
print("Executing the code...")
|
print("Executing the code...")
|
||||||
print()
|
print()
|
||||||
subprocess.run("bash run.sh", shell=True, cwd=dbs.workspace.path)
|
subprocess.run("bash run.sh", shell=True, cwd=dbs.workspace.path)
|
||||||
|
|||||||
Reference in New Issue
Block a user