Added exit command to console mode
This commit is contained in:
parent
8c5bd03434
commit
85d0822a03
@ -310,6 +310,10 @@ def console():
|
||||
|
||||
while True:
|
||||
cmd = input(os.getcwd()+ ">")
|
||||
|
||||
if cmd == "exit":
|
||||
return
|
||||
|
||||
if cmd.startswith("pyc "):
|
||||
try:
|
||||
exec(cmd[4:])
|
||||
|
Loading…
Reference in New Issue
Block a user