bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My script makes a defunct subshell and sticks on read


From: Øyvind Hvidsten
Subject: Re: My script makes a defunct subshell and sticks on read
Date: Wed, 31 Jan 2018 13:44:52 +0100
User-agent: Cathedral Secure Mail v0.8

Here. Now it's reading from stdin, and it locks up after a few seconds every time. No fifo's, pipes, non-standard file descriptors or anything.

bash -c 'for ((i=0; ; i++)); do (( i%100 )) || printf "%s\n" "$i"; read -t 0.00001; done'

I'll shut up now.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]