Closed Bug 517219 Opened 15 years ago Closed 15 years ago

pythonce has issues reusing a log file handle

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jmaher, Unassigned)

References

Details

in order for us to capture the stdout from popen in pythonce, we need to open a file handle and pass it to stdout in popen:
handle = open(<filename>, "w")
for cmd in tests:
  proc = popen(cmd, stdout=handle)
handle.close()

Since we have had issues with creating multiple files, it would make sense to just open one file handle and write all data to the same file.  In doing this, we found that only the data from the first call to popen existed in the file.  It appears that the file handle is open in python before and after each test, also using a debugger we have the same value for the file handle when writing to the file, but writefile() throws an error.
we are not using pythonce
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Component: Windows Mobile → General
QA Contact: mobile-windows → general
You need to log in before you can comment on or make changes to this bug.