X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; q=dns; s=default; b=C5kV10R/0oaLRG4dYlQwwjha+sktq 5JLEUXVBd60CzEkyGpNuziFG9bvnBK379KFsDvj4oPsrcpQrOyhM5IQHSzK61RSr orXlI0ifDbzu1TafMM1PvbX4Yi+1qxaijcRdfb9bmj3x0z4e4MhgkiH1VJRYdD48 3EkeoOdefFFt6Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; s=default; bh=792+8d8zFJWuH9Hh1L/uYScor8o=; b=lh5 SEygzKpBdT/7aWr5oifZOD/bWnDnAy7fqVAInn8C2u3Go8BAgkb9DZJqoCjKUU2y X6sbaq3yHyxmjZNoh8RXKmnlakjrw7NOBC83bPOjBqO1naEQEMZCy1uZ1fZvkj6N wJWXPMhs8rmk5lmcwDfTG+YfXCxCj5x8WcAKDWHM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: NAM03-BY2-obe.outbound.protection.outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JMp2Hufzy8lcjbBNuWBsxhIx3QdcSVcRvh2KbFtdprLp9VhEn/Fqj+YAi5eV9Tr/uN6ZGk+0A1Zvvdfz3AtIgC//PKQl1hcladjaWV2K5tyLH7GIuM50ToIyZJS12ArgX65PIjSkKcI9mpOyQ1fIXLgYJZWgAlB5eP6gMe2bF74ZzkTpWVNirBO/BTuKqE8Rhm5n5h0tcZmZW4KHzIp+7leHilIeVkV35lHkRGnCmttVFaCudSAcAb3hZ1XiP4KIWgwejahv4nkiP6p0gIxBZGGnSsK0jvpNwGbYTAkQlizcBLfFP6njZYMvGgMUkAw41nyMuBHQcJA63Ke3HZVjaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fCjWffj/k2qdhB4KMITfmRiXgP7En0vauijSqmXvGqE=; b=WjC3l2PF863VueR81wgX5WNbNI7uOg3DZME/6ZTNQrgr7e1TKiVFDI3tCcK+hxKnB4Q7ZnAgmR6dyolfHQgTNoMRs1O2G48a+bioA2Wj9fC6fiMGpyqwHBmqYeRL3SIUZWidT8MU3XFl6ulpQT+iyokVslf1mBNwxSpZgJjWngYD3TuAS5cbhyvy4AEVsE1GlZV6MEY7HVSM0wIlTj/gShcDR91TVDIwkYrs/ZOnrDRlFGm/s2WJcyiiE2mC/ARU/oBiC/bqSeaqzQZ7ZkNCE4aj7LtId84gGUjAFfh0zz/bUUGqPm1f9zZLAS3UyLOX6kbWL2e6S5+qf78EEc2Jjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cornell.edu;dmarc=pass action=none header.from=cornell.edu;dkim=pass header.d=cornell.edu;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fCjWffj/k2qdhB4KMITfmRiXgP7En0vauijSqmXvGqE=; b=XETMdmA9pDxASG4cgH+G/JMVscjldyF0CyGGDt39w8s+c8HDhq9XFZt6zZBaN5uYYeVri5CBVbD5JHTa3W7C/p4rXWrOOm13hLOf46FsxMHf0qlE1TcSxO8xE05QsbdqLmVVffYv2fxpxQkonvztrkDIfbbDh0EFiCOLAWr8rB0= From: Ken Brown To: "cygwin AT cygwin DOT com" CC: David Karr Subject: Re: Piping input from subprocess loses track of temp file Date: Sat, 27 Jul 2019 15:40:29 +0000 Message-ID: <629feb60-a3b2-6368-8eb5-83def841130b@cornell.edu> References: In-Reply-To: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu; x-ms-exchange-purlcount: 1 x-ms-oob-tlc-oobclassifiers: OLM:5516; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="utf-8" Content-ID: <30DA4B8798410D43AA42D2BAEEBB2CBA AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ksb2 AT cornell DOT edu X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x6RFf7ih030875 On 7/19/2019 2:27 PM, David Karr wrote: > I believe the relevant part of my cygwin version info is "3.0.7(0.338/5/3)" > (from uname -a output). > > I'm working on a script where one step executes a process where the input > is taking from a subprocess, like this: > > someprocess <(cat $outfile | sed -e "s/${property}[ > ]*=.*$/${property}=${newValue}/") ... > > When I run this, I see: > > error: error reading /dev/fd/62: The system cannot find the path > specified. I just ran into a possibly similar problem: https://cygwin.com/ml/cygwin/2019-07/msg00230.html, although in my case I could only reproduce it under X11. Are you running under X11 when you see your problem? And can you boil it down to a simple test case or, barring that, send your script and reproduction instructions? Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple