How can I interrupt os.system(cmd)?

Carl phleum_nospam at
Sun Nov 21 19:38:27 CET 2004

Dear friends,

I have written a small Python program that executes "cmd" via

My problem is that "cmd" runs on forever.

More specifically, I want to run "cmd" for one hour on a regular day-to-day
basis by using crontab as a scheduler.

What options do I have to control execution of external programs from


More information about the Python-list mailing list