Support #788

Updated by Madars 10 months ago

To avoid any child process to interfere with parent process standard input, the standard input of the parent process shall be closed before xatmi client/server child is executed.

<pre>
+ int fd;

+ /* close stdin... */
+ if (EXFAIL!=(fd = open("/dev/null", O_RDWR)))
+ {
+ dup2(fd, 0);
+ close(fd);
+ }
+
</pre>

Back