mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
plugins.cpp: use popen2 with vfork for script plugins
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
@@ -316,7 +317,6 @@ void CPlugins::startPlugin(const char * const name)
|
||||
printf("[CPlugins] could not find %s\n", name);
|
||||
|
||||
}
|
||||
#include <errno.h>
|
||||
|
||||
FILE* popen2( pid_t& pid, const char *cmdstring, const char *type) {
|
||||
int pfd[2] ={-1,-1};
|
||||
|
Reference in New Issue
Block a user