summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-01-17 13:26:15 +0100
committerGitHub <noreply@github.com>2022-01-17 13:26:15 +0100
commit8bdef23f7f26e085587e3dbcb5063dea2768cc88 (patch)
treee0a27e16e21a55633fe16ba0392deb21d82f7841 /core/os
parenta2d323c67e33b1c965e82b3d59784c80ab4c6950 (diff)
parentea5bb8b47dce95aa98f47d13ada8297670559c8b (diff)
Merge pull request #56012 from bruvzg/wt🤎4
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/os.h b/core/os/os.h
index b4ad2c7345..6b4e2798bd 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -149,8 +149,8 @@ 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, String *r_pipe = nullptr, int *r_exitcode = nullptr, bool read_stderr = false, Mutex *p_pipe_mutex = nullptr) = 0;
- virtual Error create_process(const String &p_path, const List<String> &p_arguments, ProcessID *r_child_id = nullptr) = 0;
+ virtual Error execute(const String &p_path, const List<String> &p_arguments, String *r_pipe = nullptr, int *r_exitcode = nullptr, bool read_stderr = false, Mutex *p_pipe_mutex = nullptr, bool p_open_console = false) = 0;
+ virtual Error create_process(const String &p_path, const List<String> &p_arguments, ProcessID *r_child_id = nullptr, bool p_open_console = false) = 0;
virtual Error create_instance(const List<String> &p_arguments, ProcessID *r_child_id = nullptr) { return create_process(get_executable_path(), p_arguments, r_child_id); };
virtual Error kill(const ProcessID &p_pid) = 0;
virtual int get_process_id() const;