screensaver: replaces system() calls by fork()/execv()/waitpid()
authorRafaël Carré <funman@videolan.org>
Sun, 4 Nov 2007 23:42:06 +0000 (23:42 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 4 Nov 2007 23:42:06 +0000 (23:42 +0000)
commitf3f44132e01c95cd764c51904f08a0beaeae0700
tree5637c1b4440681eea11c0a0be59fbee61d731ef2
parentd66e6c3cac852ff62e0de9ca0405c2975d152bb6
screensaver: replaces system() calls by fork()/execv()/waitpid()
A side effect is that on FreeBSD the console is not filled anymore with "xscreensaver-xxx not found", because "/bin/sh xx 2>&-" will not close stderr if the specified command doesn't exist.
modules/misc/screensaver.c