mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Implement OS.execute_with_pipe method to run process with redirected stdio.
Implement `pipe://*` path handling for creation of named pipes.
This commit is contained in:
@@ -105,6 +105,10 @@ Error OS_Web::execute(const String &p_path, const List<String> &p_arguments, Str
|
||||
return create_process(p_path, p_arguments);
|
||||
}
|
||||
|
||||
Dictionary OS_Web::execute_with_pipe(const String &p_path, const List<String> &p_arguments) {
|
||||
ERR_FAIL_V_MSG(Dictionary(), "OS::execute_with_pipe is not available on the Web platform.");
|
||||
}
|
||||
|
||||
Error OS_Web::create_process(const String &p_path, const List<String> &p_arguments, ProcessID *r_child_id, bool p_open_console) {
|
||||
Array args;
|
||||
for (const String &E : p_arguments) {
|
||||
|
||||
Reference in New Issue
Block a user