projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b2f06c
)
gui.c: make command pipe a nonblocking fd
author
Andre Noll
<maan@systemlinux.org>
Mon, 5 Feb 2007 21:22:52 +0000
(22:22 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 5 Feb 2007 21:22:52 +0000
(22:22 +0100)
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index
9ad5aa9
..
7588f2b
100644
(file)
--- a/
gui.c
+++ b/
gui.c
@@
-989,6
+989,7
@@
static int client_cmd_cmdline(char *cmd)
if (ret < 0)
return -1;
command_pipe = fds[1];
+ mark_fd_nonblock(command_pipe);
return send_output();
}
@@
-1004,6
+1005,7
@@
static int display_cmd(char *cmd)
if (para_exec_cmdline_pid(&cmd_pid, cmd, fds) < 0)
return -1;
command_pipe = fds[1];
+ mark_fd_nonblock(command_pipe);
return send_output();
}