|
From: | anonymous |
Subject: | [bug #21734] [Patch] Adding -o flag to reopen stdin as /dev/tty similar to BSD xargs |
Date: | Thu, 06 Dec 2007 01:40:16 +0000 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.8) Gecko/20071021 Firefox/2.0.0.8 |
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: address@hidden 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/
[Prev in Thread] | Current Thread | [Next in Thread] |