[wellylug] Help in finding a good technical/Linux related bookstore

Andrej andrej at paradise.net.nz
Wed Jun 13 20:17:54 NZST 2007


On Wednesday 13 June 2007 19:58, Jim Tittsler wrote:

> I frequently code my "shell scripts" in Python nowadays.  That
> way there is only one invocation of Python so I only pay the
> startup cost once, and the resulting script can be a bit more
> transparent.  Python's subprocess module lets me deal with
> invoking subtasks and dealing with their I/O and inevitable
> error conditions in readable ways.
Got my attention:  how does that work?  If you run a task 
scheduled via cron - how does that interact with the python
sub-process module?  Not that I'm a big fan of OO for simple
tasks to begin with, mind you. ;}


Cheers,
Andrej

-- 
A: because it messes up threading
Q: why should I not reply by top-posting?
A: No.
Q: Should I include quotations after my reply?




More information about the wellylug mailing list