mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-01 19:19:31 +02:00
Directly run the command in the shell
This commit is contained in:
parent
16edb843b7
commit
a60b2f9afb
4 changed files with 17 additions and 19 deletions
scenes
|
@ -141,8 +141,12 @@ func toggle_music():
|
|||
|
||||
func shell_test(command):
|
||||
mutex.lock()
|
||||
print("go")
|
||||
#print("go")
|
||||
print(command)
|
||||
var before = OS.get_ticks_msec()
|
||||
var response = $ShellServer.send(command)
|
||||
print("stop")
|
||||
var after = OS.get_ticks_msec()
|
||||
print("took " + str(after-before)+" ms")
|
||||
#print("stop")
|
||||
mutex.unlock()
|
||||
return response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue