lua-users home
lua-l archive

Re: lua-fltk and read

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


Hi Jay,
Thank you for getting back to me. I am using the binary you provided at on SF.net, lua-fltk-1.0-i386-linux.tar.gz. I'll try compiling from source and looking at the config file.
It does not give an error, but will just hang when asked to read. Best i can tell, it isn't the readfrom command that causes the frees but the read command.
John
On 2004年7月22日 19:38:04 -0400
"Jay Carlson" <nop@nop.com> wrote:
> > I am working on some simple GUI admin tools which use lua-fltk. 
> > The following script works in Lua40, but not lua-fltk which is based on
> Lua40. > > Does anybody know of a workaround which will work with lua-fltk?
> > ---------
> > readfrom("|ls -l")
> > d =read("*a")
> > print(d)
> 
> What is the error?
> 
> Did you build your lua-fltk with pipe support? (See the config file.)

AltStyle によって変換されたページ (->オリジナル) /