mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
CPlugins: try to fix possible segfault while open shellwindow scripts
This commit is contained in:
@@ -409,7 +409,8 @@ void CPlugins::startScriptPlugin(int number)
|
|||||||
chmod(script, 0755);
|
chmod(script, 0755);
|
||||||
if (plugin_list[number].shellwindow)
|
if (plugin_list[number].shellwindow)
|
||||||
{
|
{
|
||||||
CShellWindow(script, CShellWindow::VERBOSE | CShellWindow::ACKNOWLEDGE);
|
int res = 0;
|
||||||
|
CShellWindow (script, CShellWindow::VERBOSE | CShellWindow::ACKNOWLEDGE, &res);
|
||||||
scriptOutput = "";
|
scriptOutput = "";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user