From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6440 invoked by alias); 17 Apr 2018 16:27:30 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42673 Received: (qmail 8349 invoked by uid 1010); 17 Apr 2018 16:27:30 -0000 X-Qmail-Scanner-Diagnostics: from mail-pl0-f48.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.160.48):SA:0(-1.9/5.0):. Processed in 1.549711 secs); 17 Apr 2018 16:27:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIMWL_WL_MED,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=3a3Jlu7BLR1x//wvgt5hvfEAsOtZ15v4EmJAtKx6XkI=; b=c0RgjFohNcmD9EmjKFI1XC3yqAQHGx8LfZIViDaSyI4eF4ds1An3FrtPT4plc1byDO 8kYT7ueHwnNWc7/Jl1uisYNgBzZ+LgSnLN+XO4bGpSnuCvZ6ZuwadXxoiVAEqsayTXvX M9AIQwy4tGRhImaS9WSMPaVnBwFll+ZKiTTHmSBcktcWeyW3hMCaehUvaH7e2jSSKxkx I7dLji5LxBIYhpMYOI8U4IQtL9ZYofEG2NZRwBg7leLUkUDlcSxoOHmToldNGPv4rffH 0BkoEv48aTFJrXPUYyBhnGQn31tk5jHSdTRIcJGJ67PS/86ihaEvdQhftfpE09AAVolg +JQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=3a3Jlu7BLR1x//wvgt5hvfEAsOtZ15v4EmJAtKx6XkI=; b=HDnuAIFkWMYx/1i6W+K5gAF3WDmJg08Pus7VIxQLMwOgKK+DMv2twRBfJUzzb87JJo OI5Cd1HzziZRJ0QofZkXvJ4dDn/WI9rDTsGdfhe35FD7mhgHLUHBMblEsnFNuQ30vNRd tkpUvSPfPzbeOUmgwWnnM/meKTrd75R9LYbN3xgZRqTnxh28/HqkGbCqDEwvbHtNmPyH nCPNeyiciHTFZqVZS+LNtJnoPOU8Tki8bPf8r7ThEcCf52lv9mFPDbQ3+XfJuxyKZ3h1 qvrZGUlMrz8f44CD+Djdpg0RlRaiXX04MFEZWdZE899akYZrLrIb5vL88IR4ASdjaTLX +ocA== X-Gm-Message-State: ALQs6tCsmfrb2DfNPT81pGlZP0O2fLT32xTaZICOpS7hDippyUlKpK3u 4Fiteh+/Lm9QfVxSIZzRB/ayW1Qu X-Google-Smtp-Source: AIpwx48lPLKq0dCq9B1MTrI76I6rqREZDQqL7PAn546LG0sE1OkYzI6ighxapwCF+FLAlESga7ZhYA== X-Received: by 2002:a17:902:51ee:: with SMTP id y101-v6mr2567170plh.359.1523982445927; Tue, 17 Apr 2018 09:27:25 -0700 (PDT) From: Bart Schaefer Message-Id: <180417092721.ZM2556@torch.brasslantern.com> Date: Tue, 17 Apr 2018 09:27:21 -0700 In-Reply-To: <180417090926.ZM2456@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: "echo | ps -j $(:) | cat | cat | cat" runs components in different process groups" (Apr 17, 9:09am) References: <180323221959.ZM27569@torch.brasslantern.com> <20180324080514.txxyrb3qiztu4pqt@gmail.com> <180324150945.ZM32251@torch.brasslantern.com> <20180410124545.13fccd5d@camnpupstephen.cam.scsc.local> <20180410145926.64c4f671@camnpupstephen.cam.scsc.local> <180411151025.ZM19332@torch.brasslantern.com> <20180412172342.52df6b10@camnpupstephen.cam.scsc.local> <20180415162326.GA12549@chaz.gmail.com> <20180415185804.GB12549@chaz.gmail.com> <180416223910.ZM32002@torch.brasslantern.com> <20180417101947.5fd347df@camnpupstephen.cam.scsc.local> <180417090926.ZM2456@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in different process groups MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 17, 9:09am, Bart Schaefer wrote: } Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in diff } } On Apr 17, 10:19am, Peter Stephenson wrote: } } Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in diff } } } } On Mon, 16 Apr 2018 22:39:10 -0700 } } Bart Schaefer wrote: } } > So if, when we determine that "&" is the command separator, we could } } > treat the command in the way the "time" prefix does, this would all } } > work out without mangling execcmd_exec() and prefork(). } } } } That's good, I think that's probably worth doing. It occurs to me that doing this with "|" as well as "&" might resolve some other problems, but (testing just by scattering otherwise useless "time" around) it doesn't seem to fix all the problems noted in the earlier messages on this thread.