summaryrefslogtreecommitdiffstats
path: root/core/os/os.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-04-07 15:46:52 -0300
committerJuan Linietsky <reduzio@gmail.com>2019-04-07 15:45:30 -0300
commitcd4449e7abe97b2bc883e2d182db2cc41eb35f8c (patch)
tree2498bac08105314c5defedde82141430e01ffd0c /core/os/os.h
parent65f3a953de3db4406f099d014acbc630f53eca9c (diff)
downloadredot-engine-cd4449e7abe97b2bc883e2d182db2cc41eb35f8c.tar.gz
Add FileAccess::set_unix_permissions for Unix platforms
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 12012fba80..4ae8a354e5 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -45,6 +45,8 @@
@author Juan Linietsky <reduzio@gmail.com>
*/
+class Mutex;
+
class OS {
static OS *singleton;
@@ -260,7 +262,7 @@ public:
virtual int get_low_processor_usage_mode_sleep_usec() const;
virtual String get_executable_path() 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) = 0;
+ 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) = 0;
virtual Error kill(const ProcessID &p_pid) = 0;
virtual int get_process_id() const;