[meta] Reduce reliance on mozprocess ProcessHandler
Categories
(Testing :: Mozbase, task)
Tracking
(Not tracked)
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
(Keywords: meta)
mozprocess is a complex module with many open bugs, but little active development. At the same time, many of the use cases for which mozprocess was developed can be easily and reliably addressed with modern subprocess. mozprocess is used extensively in mozilla-central, and is implicated in several longstanding intermittent failures.
Let's try to use mozprocess less -- convert mozprocess.ProcessHandler clients to subprocess directly, or to a simple subprocess shim accessed via a new mozprocess interface.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•3 months ago
|
||
I made a lot of progress in reducing use of mozprocess' ProcessHandler, but did not completely remove it. Some complicated uses of ProcessHandler remain, and I don't have a specific plan for addressing those cases. mozprocess' ability to stream process output without requiring the caller to wait is a useful and compelling feature; its child process management may also be superior to that of subprocess.
I leave it to others to decide whether ProcessHandler should be fully deprecated...or fixed?
Description
•