possible bug?

Earl Eiland eee at nmt.edu
Thu Mar 24 17:30:09 CET 2005


There may be different ways to code it.  This works.  The problem is
that occasionally somehow, WinRK terminates without terminating the
process, or at least Python doesn't pick up the return code. It turns
out that using poll() instead of wait() only reduces the error
frequency, and allows me to recover from the failure.  It doesn't
eliminate it.

Earl

 On Thu, 2005-03-24 at 00:16, Tim Roberts wrote:
> Earl Eiland <eee at nmt.edu> wrote:
> 
> >I'm running the following code on Windows 2000, 5.00.2195:
> >
> >for x in Files:
> >	Command_String = 'C:\Program Files\WinRK\WinRK.exe -create ' +
> 
> That can't be right.  You need either
> 	Command_String = 'C:\\Program Files\\WinRK\\WinRK.exe -create ' +
> or
> 	Command_String = r'C:\Program Files\WinRK\WinRK.exe -create ' +
> -- 
> - Tim Roberts, timr at probo.com
>   Providenza & Boekelheide, Inc.




More information about the Python-list mailing list