On Sat, Feb 18, 2012 at 14:50, Abby Cedar wrote: > Need to close stdout otherwise it can't be used in a script until surf > finishes. > > To test, try the below before and after the patch. > > xid=`surf -x &`; echo $xid
You are right. The following works around the problem, but is not very elegant; xid=`surf -x | sed 1q &`; echo $xid -Truls