Re: detect suprocess interaction

2007-03-26 Thread Robin Becker
Nick Craig-Wood wrote: > Robin Becker <[EMAIL PROTECTED]> wrote: >> I'm using subprocess to carry out svn commands (probably should use the svn >> api . >> >> Clearly I need to supply some kind of input filelike object, but is this >> sort of >> thing possible. > > Yes it is pos

Re: detect suprocess interaction

2007-03-26 Thread Nick Craig-Wood
Robin Becker <[EMAIL PROTECTED]> wrote: > I'm using subprocess to carry out svn commands (probably should use the svn > api > package, but that's a dependency too far). Anyhow my code looks like > > from subprocess import Popen, PIPE > p = Popen((svn,'ls',u),stdout=PIPE,stderr=PIPE) > i = p

detect suprocess interaction

2007-03-23 Thread Robin Becker
I'm using subprocess to carry out svn commands (probably should use the svn api package, but that's a dependency too far). Anyhow my code looks like from subprocess import Popen, PIPE p = Popen((svn,'ls',u),stdout=PIPE,stderr=PIPE) i = p.wait() and this sort of thing works well under most circum