| Ticket UUID: | 957132 | ||
| Title: | TIP#202: support special case 2>@1 in open/exec | ||
| Type: | Patch | Created on: | 2004-05-19 23:29:12 |
| Submitter: | hobbs | Assigned to: | hobbs |
| Subsystem: | 24. Channel Commands | Severity: | |
| Priority: | 5 Medium | Last modified: | 2004-07-03 06:28:38 |
| Status: | Closed | Closed by: | hobbs |
| Resolution: | Accepted | Closed on: | 2004-07-02 23:28:37 |
| Version: | TIP Implementation | ||
| Description: | ||||
The following patch adds support for the special case 2>&1 to redirect stderr output to the stdout output channel on a command pipe. This affects open and exec. This simplifies the current issue where you have to have another process involved to capture both stdout and stderr reliably. | ||||
| User Comments: | ||||
hobbs added on 2004-05-20 06:29:12:
File Added - 87723: open-pipeerr2.patch hobbs added on 2004-05-20 06:30:44:
File Deleted - 87723: File Added - 87724: open-pipeerr2.patch Logged In: YES user_id=72656 fixed up patch to remove fprintf info I left in (oops). hobbs added on 2004-05-28 03:32:23:
Logged In: YES user_id=72656 I've changed it to 2>@1 to be more 'fileid' like and ensure that you only try to use it at the end of the command string. hobbs added on 2004-05-28 03:32:24:
File Deleted - 87724: File Added - 88673: open-pipeerr3.patch hobbs added on 2004-07-03 06:28:37:
Logged In: YES user_id=72656 here's the final patch against HEAD of July 2, 2004 with a test and doc change. This has been commited. hobbs added on 2004-07-03 06:28:38:
File Added - 92711: pipeerr.patch | ||||
Attachments:
- pipeerr.patch [download] added by hobbs on 2004-07-03 06:28:38. [details]
- open-pipeerr3.patch [download] added by hobbs on 2004-05-28 03:32:24. [details]
