I have written a small python script that is cron'd every hour under LUbuntu to
- check internet-connection is stalled/alive (openvpn tunnel randomly stalls)
- close transmission
- reconnect openvpn
- start transmission
However transmission always randomly crashes few hours after the script has started it. It seems that the whole python-scripts is blocked by the Popen command and waits for an input (hitting ENTER is sufficient). However the pid of transmission is always properly logged so it does not seem to hang when run by cron?
Any idea how to trace what causes the crashes? Any adviceon the Popen?