Re: [dev] [surf] [patch] Close stdout after printing XID
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
Received on Sat Feb 18 2012 - 14:58:43 CET
This archive was generated by hypermail 2.3.0
: Sat Feb 18 2012 - 15:00:08 CET