TIP#202: support special case 2>@1 in open/exec
Closed / Accepted957132ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 22 years ago
Descriptionplain2004-05-19 23:29:12
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.
hobbsplain2004-05-20 06:29:12
File Added - 87723: open-pipeerr2.patch
hobbsplain2004-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).
hobbsplain2004-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.
hobbsplain2004-05-28 03:32:24
File Deleted - 87724: File Added - 88673: open-pipeerr3.patch
dkf Ticket [957132ffff]: 1 change
[History diff]2004-05-28 15:30:12
dkf Ticket [957132ffff]: 1 change
[History diff]2004-05-28 15:30:17
hobbsplain2004-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.
hobbsplain2004-07-03 06:28:38
File Added - 92711: pipeerr.patch
Log in (anonymous is fine) to add a comment.
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]