Menu

#350 TIP#202: support special case 2>@1 in open/exec

TIP Implementation
closed-accepted
5
2004-07-02
2004-05-19
No

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.

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-19

    Logged In: YES
    user_id=72656

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

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-27
    • summary: support special case 2>&1 in open/exec --> support special case 2>@1 in open/exec
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-27

    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.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-27

    patch against 8.4-branch 2004-05-27

     
  • Donal K. Fellows

    • summary: support special case 2>@1 in open/exec --> TIP#202: support special case 2>@1 in open/exec
     
  • Donal K. Fellows

    • milestone: --> TIP Implementation
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-07-02

    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.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-07-02
    • status: open --> closed-accepted
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-07-02

    final patch against head 2004-07-02