Skip to content

Commit ef44ec1

Browse files
committed
Merge pull request #109397 from bruvzg/execute_with_pipe_dsc_fix
[Unix] Fix `execute_with_pipe` closing wrong pipe handle.
2 parents 86bb48a + 9d13037 commit ef44ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/unix/os_unix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Dictionary OS_Unix::execute_with_pipe(const String &p_path, const List<String> &
795795

796796
Ref<FileAccessUnixPipe> err_pipe;
797797
err_pipe.instantiate();
798-
err_pipe->open_existing(pipe_err[0], 0, p_blocking);
798+
err_pipe->open_existing(pipe_err[0], -1, p_blocking);
799799

800800
ProcessInfo pi;
801801
process_map_mutex.lock();

0 commit comments

Comments
 (0)