1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[Unix] Fix execute_with_pipe closing wrong pipe handle.

This commit is contained in:
Pāvels Nadtočajevs
2025-08-07 19:04:01 +03:00
parent 65eb664352
commit 9d13037653

View File

@@ -795,7 +795,7 @@ Dictionary OS_Unix::execute_with_pipe(const String &p_path, const List<String> &
Ref<FileAccessUnixPipe> err_pipe;
err_pipe.instantiate();
err_pipe->open_existing(pipe_err[0], 0, p_blocking);
err_pipe->open_existing(pipe_err[0], -1, p_blocking);
ProcessInfo pi;
process_map_mutex.lock();