delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/19/14:28:56

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=UTRPxWtrneFF5q7QDV21y72bJR6MA
VjJEgufvBUFr0A0aKHU6cKaOFHH3brlkfttUDffzD3pqb9EApn1t4v/a3I3U1YG5
EgWizsgt57Yey2w2E6uT8IppKbQ42kwVpql6AJVhSokYABd0iQUBDQVNKrjvGLMj
Xxe03k6rE17gSU=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=QAwvtaI96Md50zXn7LrJa74IoLM=; b=YRJ
X5taRJ+zhmeDXyo6x/WoqjIT2II0A8uHZF3F0QNgK0aqj4O1DuPinqkYhh0+fFby
ltkoTHpSWQhxMwRAwTlu7c5wmYrPoqJC5Y5Q86WuNH1MDm8aGMdl2I2dYekcI3n4
jphfgykYFzY2laEypYD2pLyHOh+mTrK1Xok5oBWY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=piping, H*c:alternative
X-HELO: mail-ed1-f43.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NmJnvTF/LYneVpKAXGPUkEaWSVIpByJzyZssriLMvew=; b=AHTy11M69vSaPUuKQyIvK1+l0R5UABWh7Rf5xp0lWZ9rJ2jxaLycYIYOz3Nvtx1+bG KVaFrucfn0eSBCNWvQbiiCy4DFkvEVdbV7IRXKVtec1BJkO9L3c5kIX2r5Jod+lie+5Y BnJYAczwTXSj6QnaOrqPX7eDeOQ7LVyYxJEd0qAzx+ROwBAbdUzi2fYTxMfgkPv97vf9 /4ScF5O5tdwliYtYQrr7xl4Fawf3eb+6q+d9WLgBgJFOnV+995SYke9D38x6mB/d70zS 1ndv+Ln534GVgnIs2+Ha7t0fV7184cLS+wTrytYqw8WXkDAH3miSO44z/6H2SIadoo8J gy1g==
MIME-Version: 1.0
From: David Karr <davidmichaelkarr AT gmail DOT com>
Date: Fri, 19 Jul 2019 11:27:56 -0700
Message-ID: <CAA5t8VpepGY+ZitXTe1fQp6vDe4dqDaM+0Kp1LGWZQTERuJ7Nw@mail.gmail.com>
Subject: Piping input from subprocess loses track of temp file
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

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 tried running the exact same command line and script in Ubuntu 16.04, and
it works fine.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019