Re: os.popen and the subprocess module

2012-11-30 Thread emile
On 11/29/2012 10:39 AM, Nobody wrote: Every time I see your posts "Shanghai Noodle Factory" sticks in my head as my daily hummer. :) -- http://mail.python.org/mailman/listinfo/python-list

Re: os.popen and the subprocess module

2012-11-29 Thread Nobody
On Thu, 29 Nov 2012 10:09:44 +0100, Thomas Rachel wrote: > The variant with shell=True is more os.popen()-like, but has security > flaws (e.g., what happens if there are spaces or, even worse, ";"s in the > command string? I think that you're conflating the shell= option with whether the command

Re: os.popen and the subprocess module

2012-11-29 Thread Thomas Rachel
Am 27.11.2012 19:00 schrieb Andrew: I'm looking into os.popen and the subprocess module, implementing os.popen is easy but i hear it is depreciating however I'm finding the implemantation of subprocess daunting can anyone help This is only the first impression. subprocess is

Re: os.popen and the subprocess module

2012-11-28 Thread Tim Roberts
Andrew wrote: > >I'm working on a script that will run an executable obtaine the output > from the executable >and do some analysis on the output. Essentially the script runs the >executable analyses >the data. >I'm looking into os.popen and the subprocess modu

Re: os.popen and the subprocess module

2012-11-27 Thread Mark Lawrence
On 27/11/2012 18:00, Andrew wrote: Hello world, I'm working on a script that will run an executable obtaine the output from the executable and do some analysis on the output. Essentially the script runs the executable analyses the data. I'm looking into os.popen and the subproc

RE: os.popen and the subprocess module

2012-11-27 Thread Prasad, Ramit
Andrew wrote: > > Hello world, > > I'm working on a script that will run an executable obtaine the output > from the executable > and do some analysis on the output. Essentially the script runs the > executable analyses > the data. > I'm looking in

os.popen and the subprocess module

2012-11-27 Thread Andrew
Hello world, I'm working on a script that will run an executable obtaine the output from the executable and do some analysis on the output. Essentially the script runs the executable analyses the data. I'm looking into os.popen and the subprocess module, implementing os.popen i