summaryrefslogtreecommitdiffstats
path: root/drivers/unix/os_unix.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-07-16 14:38:01 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-09-06 14:16:39 +0300
commit10f3c1f5870ba1351d565218930d7dd455cce7a9 (patch)
tree184751065c8dd29ee797c7b0a0ec5aef2b60b240 /drivers/unix/os_unix.h
parent05d985496c73577fb0b44291345da5f2dbe09844 (diff)
downloadredot-engine-10f3c1f5870ba1351d565218930d7dd455cce7a9.tar.gz
Add support for non-blocking IO mode to `OS.execute_with_pipe`.
Diffstat (limited to 'drivers/unix/os_unix.h')
-rw-r--r--drivers/unix/os_unix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h
index df269a59d3..3add5df055 100644
--- a/drivers/unix/os_unix.h
+++ b/drivers/unix/os_unix.h
@@ -83,7 +83,7 @@ public:
virtual Dictionary get_memory_info() const override;
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) override;
- virtual Dictionary execute_with_pipe(const String &p_path, const List<String> &p_arguments) override;
+ virtual Dictionary execute_with_pipe(const String &p_path, const List<String> &p_arguments, bool p_blocking = true) override;
virtual Error create_process(const String &p_path, const List<String> &p_arguments, ProcessID *r_child_id = nullptr, bool p_open_console = false) override;
virtual Error kill(const ProcessID &p_pid) override;
virtual int get_process_id() const override;