Re: os.popen does not seem to catch stdout

2007-11-07 Thread [EMAIL PROTECTED]
On Nov 7, 11:31 am, [EMAIL PROTECTED] wrote: On Nov 7, 7:58 am, [EMAIL PROTECTED] wrote: Hi there, I've been banging my head against this for a day, and I can't take it anymore. It's probably a stupid error, but I don't see where. I'm trying to use Python to call an external

Re: os.popen does not seem to catch stdout

2007-11-07 Thread kyosohma
On Nov 7, 7:58 am, [EMAIL PROTECTED] wrote: Hi there, I've been banging my head against this for a day, and I can't take it anymore. It's probably a stupid error, but I don't see where. I'm trying to use Python to call an external program, and then catch and process the output of that

os.popen does not seem to catch stdout

2007-11-07 Thread zane . selvans
Hi there, I've been banging my head against this for a day, and I can't take it anymore. It's probably a stupid error, but I don't see where. I'm trying to use Python to call an external program, and then catch and process the output of that program. Seems simple enough. The command I'm

Re: os.popen does not seem to catch stdout

2007-11-07 Thread Marc 'BlackJack' Rintsch
On Wed, 07 Nov 2007 18:35:51 +, kyosohma wrote: I've never had to put the command into a list or tuple...but you're welcome to try it that way. You don't *have* to but if you do the module takes care of quoting the arguments if necessary. Ciao, Marc 'BlackJack' Rintsch --

Re: os.popen does not seem to catch stdout

2007-11-07 Thread kyosohma
On Nov 7, 12:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Nov 7, 11:31 am, [EMAIL PROTECTED] wrote: On Nov 7, 7:58 am, [EMAIL PROTECTED] wrote: Hi there, I've been banging my head against this for a day, and I can't take it anymore. It's probably a stupid error, but I