Commit 4a697e29 authored by Niels Möller's avatar Niels Möller
Browse files

(lsh_popen_write): Close the pipe to the spawned process after the

data is written.

Rev: src/io.c:1.230
parent a546f7db
......@@ -1398,6 +1398,7 @@ lsh_popen_write(const char *program, const char **argv, int out,
res = write_raw(fds[1], length, data);
if (waitpid(pid, &status, 0) < 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment