This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Piping input from subprocess loses track of temp file
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Cc: David Karr <davidmichaelkarr at gmail dot com>
- Date: Sat, 27 Jul 2019 15:40:29 +0000
- Subject: Re: Piping input from subprocess loses track of temp file
- 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
- 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-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JMp2Hufzy8lcjbBNuWBsxhIx3QdcSVcRvh2KbFtdprLp9VhEn/Fqj+YAi5eV9Tr/uN6ZGk+0A1Zvvdfz3AtIgC//PKQl1hcladjaWV2K5tyLH7GIuM50ToIyZJS12ArgX65PIjSkKcI9mpOyQ1fIXLgYJZWgAlB5eP6gMe2bF74ZzkTpWVNirBO/BTuKqE8Rhm5n5h0tcZmZW4KHzIp+7leHilIeVkV35lHkRGnCmttVFaCudSAcAb3hZ1XiP4KIWgwejahv4nkiP6p0gIxBZGGnSsK0jvpNwGbYTAkQlizcBLfFP6njZYMvGgMUkAw41nyMuBHQcJA63Ke3HZVjaA==
- References: <CAA5t8VpepGY+ZitXTe1fQp6vDe4dqDaM+0Kp1LGWZQTERuJ7Nw@mail.gmail.com>
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