[mythtv-users] channel changes via script suddenly stopped working--diagnose help

Raymond Wagner raymond at wagnerrp.com
Sat Apr 13 16:56:45 UTC 2013


On 4/13/2013 12:05 PM, Stephen Worthington wrote:
> On Sat, 13 Apr 2013 11:27:57 -0400, you wrote:
>>On 4/13/2013 11:25 AM, Bill Meek wrote:
>>>You should see the cc.sh command as it's executed. Use --setverbose
>>>general to restore normal logging.
>>
>>2013-04-13 11:22:14.050929 I [1795/1910] TVRecEvent system-unix.cpp:868
>>(Fork) - Managed child (PID: 2481) has started! *&
>>command=/usr/local/bin/cc.sh 18, timeout=0
>>
>>Do you happen to know what the timeout=0 value implies?
>
> A timeout value of 0 is commonly used in programming to mean no
> timeout.  But I do not know for sure if that is what is meant here.

Correct. The "*" means it will be wrapped in a shell (/bin/sh), the "&" 
means it will not block the thread that ran it, and "timeout=0" means it 
will be allowed to run indefinitely, until it terminates on its own, or 
some external thread decides to terminate it.

Is it possible that being wrapped in a shell, the run environment is not 
exactly what you expected, and that is causing some relative paths to be 
incorrect?  Perhaps `irsend` is not in the path? It's not a login shell, 
so the environment should not be substantially different, but it's work 
investigating.


More information about the mythtv-users mailing list