Closed
Bug 897890
Opened 11 years ago
Closed 5 years ago
[mozprocess] mozprocess behaves incorrectly when stdout is redirected
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: nodeless, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mozprocess])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212
Steps to reproduce:
If stdout is redirected, the process immediately closes on Linux (On windows, an exception is raised in the processOutput thread). processOutput() depends on stdout being a pipe.
I'm moving jetpack to the latest mozbase (bug 897370) and encountered the above because jetpack redirects stdout and stderr. I've reworked the logic to fix this bug, and have added test cases for all of the bugs I found. The tests pass on win7 and Debian.
Full details are in the commit message.
Note that this patch is built on top of the two other patches I've submitted: 892917 and 892902.
Updated•11 years ago
|
Summary: mozprocess behaves incorrectly when stdout is redirected → [mozprocess] mozprocess behaves incorrectly when stdout is redirected
Whiteboard: [mozprocess]
Comment 3•11 years ago
|
||
Is this patch ready for review? Who can review it?
Comment 4•10 years ago
|
||
Sorry this got lost in the ether. There have been a lot of mozprocess changes since this bug (recently bug 794984 just landed that re-writes most of the code this patch is touching) so this may have been fixed as a side effect. Can someone confirm if this is still happening, and if so provide more explicit STR?
Updated•5 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•