mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
start SCRIPTs with-my_system
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3389defb17
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
#include <gui/widget/progressbar.h>
|
||||
|
||||
#include <system/settings.h>
|
||||
#include <system/helpers.h>
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
@@ -248,7 +249,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
|
||||
if(!manual) {
|
||||
g_RCInput->close_click();
|
||||
if (system(NEUTRINO_SCAN_START_SCRIPT) != 0)
|
||||
if (my_system(NEUTRINO_SCAN_START_SCRIPT,NULL,NULL) != 0)
|
||||
perror(NEUTRINO_SCAN_START_SCRIPT " failed");
|
||||
}
|
||||
|
||||
@@ -310,7 +311,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
g_Zapit->stopScan();
|
||||
|
||||
if(!manual) {
|
||||
if (system(NEUTRINO_SCAN_STOP_SCRIPT) != 0)
|
||||
if (my_system(NEUTRINO_SCAN_STOP_SCRIPT,NULL,NULL) != 0)
|
||||
perror(NEUTRINO_SCAN_STOP_SCRIPT " failed");
|
||||
g_RCInput->open_click();
|
||||
}
|
||||
|
Reference in New Issue
Block a user