diff --git a/mythtv/libs/libmyth/netgrabbermanager.cpp b/mythtv/libs/libmyth/netgrabbermanager.cpp
index 78acf41..61143d4 100644
a
|
b
|
void Search::executeSearch(const QString &script, const QString &query, uint pag |
251 | 251 | resetSearch(); |
252 | 252 | |
253 | 253 | VERBOSE(VB_IMPORTANT, "Search::executeSearch"); |
254 | | m_searchProcess = new MythSystem(); |
255 | | |
256 | | connect(m_searchProcess, SIGNAL(finished()), this, SLOT(slotProcessSearchExit())); |
257 | | connect(m_searchProcess, SIGNAL(error(uint)), this, SLOT(slotProcessSearchExit(uint))); |
258 | | |
259 | 254 | QString cmd = script; |
260 | 255 | |
261 | 256 | QStringList args; |
… |
… |
VERBOSE(VB_IMPORTANT, "Search::executeSearch"); |
273 | 268 | .arg(cmd).arg(args.join(" "))); |
274 | 269 | |
275 | 270 | uint flags = kMSRunShell | kMSStdOut | kMSBuffered | kMSRunBackground; |
276 | | m_searchProcess->SetCommand(cmd, args, flags); |
| 271 | m_searchProcess = new MythSystem(cmd, args, flags); |
| 272 | |
| 273 | connect(m_searchProcess, SIGNAL(finished()), this, SLOT(slotProcessSearchExit())); |
| 274 | connect(m_searchProcess, SIGNAL(error(uint)), this, SLOT(slotProcessSearchExit(uint))); |
| 275 | |
277 | 276 | m_searchProcess->Run(40); |
278 | 277 | } |
279 | 278 | |