Closed Bug 900144 Opened 6 years ago Closed 6 years ago
Add redirect shell built-in for changing stdout/stderr destination
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.
We could also have an 'append' function that may or may not secretly cache the file descriptor
Requesting your review here just because this happens to be a prerequisite of bug 898815.
Attachment #792385 - Flags: review?(bhackett1024)
Attachment #783907 - Attachment is obsolete: true
Attachment #792385 - Flags: review?(bhackett1024) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.