lua-users home
lua-l archive

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


if it is not on Windows platform, I would say popen is
the easiest, unless you are doing a large number of
them all at the same time(memory footprint of multiple
sub-process).

I really prefer the *nix pipe style.

--- George Petsagourakis <petsagouris@gmail.com>
wrote:

> > Can you say what *precisely* you're trying to do? 
> Now it sounds like
> > you're trying to fetch some bzip2ed XML document
> off a remote server.
> 
> 
> Firstly, thanks for taking the time to answer my
> mails :D
> 
> Basically this is the intention:
> 
> 1.Download
> http://some.webserver.org/somefile.xml.bz2
> 2.Download
> http://some.other-webserver.org/somefile.xml.bz2
> 3.Read the XML from it, analyze each one & store
> required data in database.
> 4.Combine analysis of these two data sets and
> produce a third bzip2ed XML.
> 
> I am developing on embeded lua (using luaexpat,
> compiled libs, sqlite3, luasockets) 
> 
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ