diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-23 01:25:47 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-23 01:26:32 +0100 |
commit | 90a1f8d8a7789c6fa9191c8684cd24edca066577 (patch) | |
tree | ae0045aac1b5da04f66be3b49ca1625a0e93ba45 /platform/uwp | |
parent | 94d3bcbc9b523a8aae4cc0dd1f1e522c2171900e (diff) |
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 'platform/uwp')
-rw-r--r-- | platform/uwp/os_uwp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/os_uwp.h b/platform/uwp/os_uwp.h index edc63bd637..e032b501f9 100644 --- a/platform/uwp/os_uwp.h +++ b/platform/uwp/os_uwp.h @@ -205,7 +205,7 @@ public: virtual void delay_usec(uint32_t p_usec) const; virtual uint64_t get_ticks_usec() const; - virtual Error execute(const String &p_path, const List<String> &p_arguments, bool p_blocking, ProcessID *r_child_id = NULL, String *r_pipe = NULL, int *r_exitcode = NULL, bool read_stderr = false, Mutex *p_pipe_mutex = NULL); + virtual Error execute(const String &p_path, const List<String> &p_arguments, bool p_blocking = true, ProcessID *r_child_id = NULL, String *r_pipe = NULL, int *r_exitcode = NULL, bool read_stderr = false, Mutex *p_pipe_mutex = NULL); virtual Error kill(const ProcessID &p_pid); virtual bool has_environment(const String &p_var) const; |