URL:
<http://savannah.gnu.org/bugs/?21734>
Summary: [Patch] Adding -o flag to reopen stdin as /dev/tty
similar to BSD xargs
Project: findutils
Submitted by: None
Submitted on: Thursday 12/06/2007 at 01:40 UTC
Category: xargs
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Nikos Ntarmos
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.31
Fixed Release: None
_______________________________________________________
Details:
The attached patch adds a -o flag, which reopens stdin as /dev/tty in the
child process prior to execvp(3). BSD xargs has the exact same flag for this
reason. This is very useful if the command to launch is an interactive one.
This patch is against 4.2.31 (the latest version available on my Debian Sid
box) but also applies to CVS HEAD.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 12/06/2007 at 01:40 UTC Name: xargs-tty.diff Size: 3kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=14567>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21734>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/