Changes between Initial Version and Version 1 of Ticket #12415, comment 47


Ignore:
Timestamp:
06/25/12 18:54:06 (7 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12415, comment 47

    initial v1  
    11Replying to [comment:43 roed]:
    22> Some are due to the fact that in your tests, os.system calls are happening before the python process gets far enough, so results that were printed to the screen in the wrong order.
    3 Use `sys.stdout.flush()` (and/or the same for `stderr`) before `os.system()` to overcome this.
     3Use `sys.stdout.flush()` (and/or the same for `stderr`) before `os.system()` to overcome this.  The difference is probably that my output was sent to a pipe, as opposed to directly to the terminal. In the latter case, flushing is automatic.
    44
    55True, I might not have applied all patches correctly.