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

Merge pull request #109397 from bruvzg/execute_with_pipe_dsc_fix

[Unix] Fix `execute_with_pipe` closing wrong pipe handle.
This commit is contained in:
Thaddeus Crews
2025-08-19 10:29:44 -05:00

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();