On Apr 6, 3:59 pm, Rob Wolfe <[EMAIL PROTECTED]> wrote:
> "ianaré" <[EMAIL PROTECTED]> writes:
> > hey all, I'm trying to get real time updates of batch file output.
>
> [...]
>
> > So I tried subprocess:
> > proc = subprocess.Popen('"C:/path/to/test.bat"', bufsize=0,
> > stdout=subprocess.PIPE)
"ianaré" <[EMAIL PROTECTED]> writes:
> hey all, I'm trying to get real time updates of batch file output.
[...]
> So I tried subprocess:
> proc = subprocess.Popen('"C:/path/to/test.bat"', bufsize=0,
> stdout=subprocess.PIPE)
Instead of that:
> for line in proc.stdout:
> self.display.Writ
On Apr 6, 3:22 pm, [EMAIL PROTECTED] wrote:
> On Apr 6, 1:44 pm, "ianaré" <[EMAIL PROTECTED]> wrote:
>
>
>
> > hey all, I'm trying to get real time updates of batch file output.
>
> > Here is my batch file:
> > @echo off
> > echo 1
> > @ping 127.0.0.1 -n 2 -w 1500 > nul
> > echo 2
> > @ping 127.0.0
On Apr 6, 1:44 pm, "ianaré" <[EMAIL PROTECTED]> wrote:
> hey all, I'm trying to get real time updates of batch file output.
>
> Here is my batch file:
> @echo off
> echo 1
> @ping 127.0.0.1 -n 2 -w 1500 > nul
> echo 2
> @ping 127.0.0.1 -n 2 -w 1500 > nul
> echo 3
>
> If I run it in cmd.exe it will
hey all, I'm trying to get real time updates of batch file output.
Here is my batch file:
@echo off
echo 1
@ping 127.0.0.1 -n 2 -w 1500 > nul
echo 2
@ping 127.0.0.1 -n 2 -w 1500 > nul
echo 3
If I run it in cmd.exe it will print "1", wait 15sec, print "2", wait
15sec, print "3".
I tried doing it