diff options
author | runge <runge> | 2006-12-10 03:12:02 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-10 03:12:02 +0000 |
commit | 5b198763c597459a27e7e88827dcc748b98b6670 (patch) | |
tree | 07111d31dc1932bd6c5bb99bd899916e5efb7129 /x11vnc/solid.c | |
parent | 726cedb871a70aa6307df74e769605ee89bd52d0 (diff) | |
download | libtdevnc-5b198763c597459a27e7e88827dcc748b98b6670.tar.gz libtdevnc-5b198763c597459a27e7e88827dcc748b98b6670.zip |
x11vnc: FINDCREATEDISPLAY support to create X session if one cannot be found. Fix bug in java viewer.
Diffstat (limited to 'x11vnc/solid.c')
-rw-r--r-- | x11vnc/solid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/solid.c b/x11vnc/solid.c index e5ff5cf..f43d69d 100644 --- a/x11vnc/solid.c +++ b/x11vnc/solid.c @@ -68,6 +68,7 @@ static int dt_cmd(char *cmd) { rfbLog("running command:\n %s\n", cmd); usr_bin_path(0); + close_exec_fds(); rc = system(cmd); usr_bin_path(1); @@ -96,6 +97,7 @@ static char *cmd_output(char *cmd) { rfbLog("running pipe:\n %s\n", cmd); usr_bin_path(0); + close_exec_fds(); p = popen(cmd, "r"); usr_bin_path(1); |