This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Piping input from subprocess loses track of temp file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]