Re: [Tutor] Pipe variable to external command (solved)

2005-05-15 Thread Jeffrey Rice
be closed at the end of the program if I did not do it explicitly, but it is sloppy. Interesting that the following clawav.wait() statement seem to function fine even though the close statement lacked its parens. Jeff * * * * * * * Jeffrey Rice||

Re: [Tutor] Pipe variable to external command (solved)

2005-05-15 Thread Jeffrey Rice
than the stream.) Thanks to everyone for your patience and advice! Jeff * * * * * * * Jeffrey Rice|| [EMAIL PROTECTED] || www.finity.org ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] [unclassified] Re: Pipe variable to external command (fwd)

2005-05-12 Thread Jeffrey Rice
nfected files: 0\nTime: 0.004 sec (0 m 0 s)\n' >>> process.fromchild.close() >>> process.wait() 512 ## In my fiirst example, clamdscan should return 1 when the EICAR string is found -- process.wait() gets 256 instead. In the second, clamdscan returns 2 if an er

Re: [Tutor] Pipe variable to external command (fwd)

2005-05-12 Thread Jeffrey Rice
gant way to get the exitcode off the child process, or is this the "approved" method? Jeff * * * * * * * Jeffrey Rice|| [EMAIL PROTECTED] || www.finity.org ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Pipe variable to external command

2005-05-11 Thread Jeffrey Rice
ite to and read from a temp file at every step. I expect I am making a very basic error, stemming from my tackling a (perhaps?) more advanced problem at this early stage. But one can only get so far with "Hello World" Many thanks, Jeff * * * * *