Skip to content

Commit

Permalink
Change channel changing scripts to run in background
Browse files Browse the repository at this point in the history
I've changed this to run in the background with no timeout following a
discussion on IRC with danielk.  This seems to fill his requirements better.
Thanks.
  • Loading branch information
Beirdo committed Jul 16, 2011
1 parent d04fd4a commit c415e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/channelbase.cpp
Expand Up @@ -717,8 +717,8 @@ bool ChannelBase::ChangeExternalChannel(const QString &changer,
LOG(VB_CHANNEL, LOG_INFO, LOC +
QString("Running command: %1").arg(command));

m_system = new MythSystem(command, kMSRunShell);
m_system->Run(30);
m_system = new MythSystem(command, kMSRunShell | kMSRunBackground);
m_system->Run();

return true;
}
Expand Down

0 comments on commit c415e88

Please sign in to comment.