[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaThreads for Lua 5.1?
- From: "steve donovan" <steve.j.donovan@...>
- Date: Sat, 11 Aug 2007 13:07:31 +0200
That probably sounds right....
Anyway, here's a popen/popen2 implementation:
http://mysite.mweb.co.za/residents/sdonovan/popen.zip
This works for Windows (console and window subsystem), and Linux. I
don't get the glib memory corruptions with this popen which I was
getting with io.popen with the SciTE GTK version.
steve d.
On 8/11/07, gary ng <garyng2000@yahoo.com> wrote:
> My guess is about those stdin/stdout/stderr shared by
> the child process.
>
> --- steve donovan <steve.j.donovan@gmail.com> wrote:
>
> > I did popen/popen2 for SciTE recently, and it was
> > not easy - but the
> > results are very satisfactory. (io.popen is broken
> > for Windows
> > non-console apps, and under *nix still dodgy, I
> > suspect because of
> > __gc). Anybody interested in the code?
> >
> > steve d.
> >
> > On 8/11/07, Duck <duck@roaming.ath.cx> wrote:
> > > Something equivalent to popen2() wouldn't half be
> > nice, too, for platforms
> > > which support it. I suppose I'm thinking here of
> > Lua as a scripting
> > > language (e.g. like gawk) not just an embedding
> > language.
> > >
> > >
> > >
> >
>
>
>
>
> ____________________________________________________________________________________
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
>