From 90a1f8d8a7789c6fa9191c8684cd24edca066577 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 23 Jan 2020 01:25:47 +0100 Subject: 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. --- platform/uwp/os_uwp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/uwp') 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 &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 &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; -- cgit v1.2.3