Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Frozen command substitution
- X-seq: zsh-users 28913
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Frozen command substitution
- Date: Sat, 11 Feb 2023 18:02:57 +0100
- Archived-at: <https://zsh.org/users/28913>
- In-reply-to: <Y+dioiiAoWXaSGqw@localhost>
- List-id: <zsh-users.zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- References: <Y+dioiiAoWXaSGqw@localhost>
- Reply-to: zsh-users@xxxxxxx
- Ui-outboundreport: notjunk:1;M01:P0:pgHwgumoXdo=;X49U+ED273Ez3eFOG/gfgqNPc9I RsELlrbHx3YtCAvvr3R7+H8EMb4VHg1gL3tqFKocRb0fBcyWtVrDL6+v22FVywLhG72yvOLBO uR2e9/9EqQN2RoO11MIWcwKKByAuuAtba1Fm1giF2LcXiwyqpGz9Z2Y/+DbrnMJj3u3ihFbbj 0zw3RF0liw1j/Jhdh50Iw+QpkFjpEnRAV0YzBTeB6jFDlkXwvl/NWiM7hRAe+UfFV6gO+6Zc6 jZ7OrYx6a1BrQEOyFdiqqmBrVOyMEVwJrqSVej1cWFqx7vLVntzDZdMbSf5nqNIDKn6yHHElb CWsv0Fq8HMCSp5A6vs+7hdDs7/3Iyf1Njh/GM7Ad+qKuvi5O87oGWnSPW4fGbglwRElaLYmmx /WqaQCQIdpd4OUAHg3bCieO1cjD8/TP5Bms4Xj7jfO+BZjoDgSncYXIwrHnOzKPWSuYbfpUP4 wHPg1GUuQUSgqE9ty0gvCbbkrozpgVGlbFnlIsoJanFcoM6j7QCih/7Zvi9yNo1LlJceN3nd+ n84BC1XnleV16dFtKEPFgRNHA3Hi2+Gb1HdrDHCW4GD0A2EXvlzqYFsfoKKcojmB7C84Ws9pc zzJrfbEDn0zNzdnYXQNtIlvalDWpMIg7rzbmWJTi16qm112npnLc+w/kQduSXEU+N02XZvmDn kmnRsjGZrzFecvMVgYPht5GUnUlv+MI0MjMixQU0WEpv3rHNP12vSAMaJbIskgXk+dTmm57g4 SQq/xmUhTDS4Numup6zskvxm+t5sVg3nn+S0vlWrapa81ZFgO9N+/LaDycxoysgdhK4nRO2La dd6kvLxmFeNErLCJ5TG6eN4AogkfwySo3EOWtYViZ0UPaRuSuhtte46kY5GiAaEaHM7GN74VB HxgYeXgwIQMCGKrkvldpxc4ND3kg8O8LxjqV5HLWNvYqgAnA/pHptC+XK+4aqie7M/2NIlvZw kdnZkC0520b+SIDXIINfcHl7+Zs=
On Sat, Feb 11, 2023 at 10:41:07AM +0100, Dominik Vogt wrote:
> I have two long running scripts that do complex interaction with
> the web browser, say "foo" which calls the subordinate script
> "bar". The browser crashes once in a while and is restarted
> automatically by some other script. Sometimes when this happens,
> foo freezes in a call of bar and won't wake up anymore when bar
> terminates:
> R="$(bar some arguments)" <------- hangs in this line
Apparingly this does not happen if the line is rewritten to
> bar some arguments | read R
(bar produces exactly one line of output.)
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author