mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-27 20:29:22 +02:00
Add run_async to shell, which should be more stable than the previous threading
This might fix the "random crash" problem?
This commit is contained in:
parent
53f60247f3
commit
e220211140
4 changed files with 67 additions and 40 deletions
scenes
9
scenes/shell_command.gd
Normal file
9
scenes/shell_command.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
class_name ShellCommand
|
||||
|
||||
signal done
|
||||
|
||||
var command
|
||||
var output
|
||||
var exit_code
|
||||
var crash_on_fail = true
|
Loading…
Add table
Add a link
Reference in a new issue