Open
Bug 1775311
Opened 2 years ago
Expose stdout/stderr line processing in `Subprocess.jsm` directly
Categories
(Toolkit :: Async Tooling, enhancement)
Toolkit
Async Tooling
Tracking
()
NEW
People
(Reporter: nalexander, Unassigned)
References
Details
I have grown a pattern for processing each line of Subprocess.jsm
output: see https://searchfox.org/mozilla-central/search?q=const%20dumpPipe&path= for some cases. Each of these duplicates some code, with subtly different issues (are exceptions in stdin.close()
handled correctly? are trailing lines handled correctly?). This ticket tracks unifying these and exposing them in the Subprocess.jsm
API space so they don't need to be copy-pasted.
You need to log in
before you can comment on or make changes to this bug.
Description
•