Closed
Bug 900144
Opened 11 years ago
Closed 11 years ago
Add redirect shell built-in for changing stdout/stderr destination
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
If you want to write out multiple files from JS, then a writefile(filename) API works, but then you have to have the entire string buffered in memory. A way to sidestep this without introducing a File object headache to the shell is to allow redirecting stdout to a different file.
Assignee | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
We could also have an 'append' function that may or may not secretly cache the file descriptor
Assignee | ||
Comment 3•11 years ago
|
||
Requesting your review here just because this happens to be a prerequisite of bug 898815.
Attachment #792385 -
Flags: review?(bhackett1024)
Assignee | ||
Updated•11 years ago
|
Attachment #783907 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #792385 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•