2014-02-14, 21:39
(2014-02-14, 20:37)MilhouseVH Wrote:Except this days for debugging purposes, I run it from rc.local(2014-02-14, 20:15)darrepac Wrote: Yep but I log using putty/ssh and run texturecache in the command line in foreground, then when putty will disconnect (it happens after some hours, or my PC will go in sleep mode), the process will be killed (unless I am wrong?).
Is this how you normally run rbphdmi, from the command line, or is this ssh disconnect occurring only while you are diagnosing this problem?
(2014-02-14, 20:37)MilhouseVH Wrote:yep this is what I was meaning...will do it and keep you updated(2014-02-14, 20:15)darrepac Wrote: What I can do is to redirect the stderr + stdout to a file??
Try:
Code:./texturecache.py rbphdmi @bin.tvservice=/opt/vc/bin/tvservice @logfile=/home/pi/texturecache.log @debug=yes 1>/home/pi/tcout.log 2>/home/pi/tcerr.log &
the "&" on the end may allow the process to continue running even if your SSH session disconnects.