> >> > Can I allocate a second console window, so I can place certain output
> >> > to that directly, and leave the original streams alone? I tried
> >> Have you tried using the creationflags argument to subprocess.Popen?
> >> Specially the CREATE_NEW_CONSOLE flag. See the Microsoft documentation
En Tue, 18 Mar 2008 07:09:08 -0300, <[EMAIL PROTECTED]> escribió:
> On Mar 17, 8:16 pm, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>> On 17 mar, 19:43, [EMAIL PROTECTED] wrote:
>>
>> > Can I allocate a second console window, so I can place certain output
>> > to that directly, and leave the orig
> > >>> Can I allocate a second console window, so I can place certain output
> > >>> to that directly, and leave the original streams alone?
>
> > I've rather lost track of what you're trying to do, but I would
> > second Gabriel's suggestion of the standard Windows method of
> > debug output: u
On Mar 18, 8:51 am, Tim Golden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >>> Can I allocate a second console window, so I can place certain output
> >>> to that directly, and leave the original streams alone?
>
> I've rather lost track of what you're trying to do, but I would
> seco
[EMAIL PROTECTED] wrote:
>>> Can I allocate a second console window, so I can place certain output
>>> to that directly, and leave the original streams alone?
I've rather lost track of what you're trying to do, but I would
second Gabriel's suggestion of the standard Windows method of
debug outpu
On Mar 17, 8:16 pm, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> On 17 mar, 19:43, [EMAIL PROTECTED] wrote:
>
> > Can I allocate a second console window, so I can place certain output
> > to that directly, and leave the original streams alone? I tried some
> > things in subprocess (Py 3a3 /WinXP
On 17 mar, 19:43, [EMAIL PROTECTED] wrote:
> Can I allocate a second console window, so I can place certain output
> to that directly, and leave the original streams alone? I tried some
> things in subprocess (Py 3a3 /WinXP) but they failed. I don't know if
> it's supposed to be possible though,
On Mar 17, 8:16 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Sun, 16 Mar 2008 22:27:28 -0200, <[EMAIL PROTECTED]> escribió:
>
> > Specifically, before the prompts. Where does the prompt write come
> > from; why doesn't it honor my settings of sys.stdout and sys.stderr?
>
> The interacti
En Sun, 16 Mar 2008 22:27:28 -0200, <[EMAIL PROTECTED]> escribió:
> Specifically, before the prompts. Where does the prompt write come
> from; why doesn't it honor my settings of sys.stdout and sys.stderr?
The interactive interpreter uses directly the C predefined streams stdout
and stderr.
-
The code should have extra colons.
>>> class ThreadedOut:
... def __init__( self, old ):
... self._old= old
... def write( self, s ):
... self._old.write( ':' )
... return self._old.write( s )
... def flush( self ):
... self._old.flush()
10 matches
Mail list logo