tech-userlevel archive

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

Re: ash backgrounding bug?



> Looks like a bug to me.
I boiled it down to

#!/bin/sh

f() {
        sleep 3
}

echo $(sleep 3 >&- & echo $!)
echo $(f >&- & echo $!)

where the first echo completes immediately, the second only after three seconds.

> Send-pr?
bin/48875


Home | Main Index | Thread Index | Old Index