summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-23 01:25:47 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-23 01:26:32 +0100
commit90a1f8d8a7789c6fa9191c8684cd24edca066577 (patch)
treeae0045aac1b5da04f66be3b49ca1625a0e93ba45 /core/bind/core_bind.h
parent94d3bcbc9b523a8aae4cc0dd1f1e522c2171900e (diff)
downloadredot-engine-90a1f8d8a7789c6fa9191c8684cd24edca066577.tar.gz
Make `OS.execute()` blocking by default if not specified
This makes `OS.execute()` calls quicker to set up when calling programs in a blocking fashion.
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 65f20c375e..87da51f97e 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -227,7 +227,7 @@ public:
int get_low_processor_usage_mode_sleep_usec() const;
String get_executable_path() const;
- int execute(const String &p_path, const Vector<String> &p_arguments, bool p_blocking, Array p_output = Array(), bool p_read_stderr = false);
+ int execute(const String &p_path, const Vector<String> &p_arguments, bool p_blocking = true, Array p_output = Array(), bool p_read_stderr = false);
Error kill(int p_pid);
Error shell_open(String p_uri);