mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
plugins.cpp: use popen2 with vfork for script plugins
Origin commit data
------------------
Branch: ni/coolstream
Commit: a6d0331ed9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-22 (Wed, 22 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
#include <neutrino.h>
|
#include <neutrino.h>
|
||||||
@@ -316,7 +317,6 @@ void CPlugins::startPlugin(const char * const name)
|
|||||||
printf("[CPlugins] could not find %s\n", name);
|
printf("[CPlugins] could not find %s\n", name);
|
||||||
|
|
||||||
}
|
}
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
FILE* popen2( pid_t& pid, const char *cmdstring, const char *type) {
|
FILE* popen2( pid_t& pid, const char *cmdstring, const char *type) {
|
||||||
int pfd[2] ={-1,-1};
|
int pfd[2] ={-1,-1};
|
||||||
|
Reference in New Issue
Block a user