"Uri Nix" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Roger Upole wrote:
>> "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>> > Steven Bethard wrote:
>> >
>> >> > Using the following snippet:
>> >> > p =
>> >> > subprocess.Popen(nmake,stderr=subproc
Roger Upole wrote:
> "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > Steven Bethard wrote:
> >
> >> > Using the following snippet:
> >> > p =
> >> > subprocess.Popen(nmake,stderr=subprocess.PIPE,stdout=subprocess.PIPE, \
> >> >universal_new
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Steven Bethard wrote:
>
>> > Using the following snippet:
>> > p =
>> > subprocess.Popen(nmake,stderr=subprocess.PIPE,stdout=subprocess.PIPE, \
>> >universal_newlines=True, bufsize=1)
>> > os
Steven Bethard wrote:
> > Using the following snippet:
> > p =
> > subprocess.Popen(nmake,stderr=subprocess.PIPE,stdout=subprocess.PIPE, \
> >universal_newlines=True, bufsize=1)
> > os.sys.stdout.writelines(p.stdout)
> > os.sys.stdout.writelines(p.stderr)
> > Works
Uri Nix wrote:
> Using the following snippet:
> p =
> subprocess.Popen(nmake,stderr=subprocess.PIPE,stdout=subprocess.PIPE, \
>universal_newlines=True, bufsize=1)
> os.sys.stdout.writelines(p.stdout)
> os.sys.stdout.writelines(p.stderr)
> Works fine on the command li
Hi also !
In other fields, I also found uses which did not function with subprocess,
but OK with popen2/4
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I've been trying to use (Python 2.4 on WinXP) the subprocess module to
execute a shell command (nmake in this case), and pass its output to a
higher level.
Using the following snippet:
p =
subprocess.Popen(nmake,stderr=subprocess.PIPE,stdout=subprocess.PIPE, \
u