Tracker: Patches

5 TIP#202: support special case 2>@1 in open/exec - ID: 957132
Last Update: Attachment added ( hobbs )

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.


Jeffrey Hobbs ( hobbs ) - 2004-05-19 16:29:12 PDT

5

Closed

Accepted

Jeffrey Hobbs

24. Channel Commands

TIP Implementation

Public


Comments ( 3 )

Date: 2004-07-02 16:28:37 PDT
Sender: hobbsSourceForge.net SubscriberProject Admin

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.


Date: 2004-05-27 13:32:23 PDT
Sender: hobbsSourceForge.net SubscriberProject Admin

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.


Date: 2004-05-19 16:30:44 PDT
Sender: hobbsSourceForge.net SubscriberProject Admin

Logged In: YES
user_id=72656

fixed up patch to remove fprintf info I left in (oops).


Attached Files ( 2 )

Filename Description Download
open-pipeerr3.patch patch against 8.4-branch 2004-05-27 Download
pipeerr.patch final patch against head 2004-07-02 Download

Changes ( 12 )

Field Old Value Date By
File Added 92711: pipeerr.patch 2004-07-02 16:28:38 PDT hobbs
status_id Open 2004-07-02 16:28:37 PDT hobbs
close_date - 2004-07-02 16:28:37 PDT hobbs
resolution_id None 2004-07-02 16:28:37 PDT hobbs
artifact_group_id None 2004-05-28 01:30:17 PDT dkf
summary support special case 2>@1 in open/exec 2004-05-28 01:30:12 PDT dkf
File Deleted 87724: 2004-05-27 13:32:24 PDT hobbs
File Added 88673: open-pipeerr3.patch 2004-05-27 13:32:24 PDT hobbs
summary support special case 2>&1 in open/exec 2004-05-27 13:32:23 PDT hobbs
File Added 87724: open-pipeerr2.patch 2004-05-19 16:30:44 PDT hobbs
File Deleted 87723: 2004-05-19 16:30:44 PDT hobbs
File Added 87723: open-pipeerr2.patch 2004-05-19 16:29:12 PDT hobbs