[Date Prev][Date Next][Thread Prev][Thread Next]
- 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:
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.
On 8/11/07, gary ng <email@example.com> wrote:
> My guess is about those stdin/stdout/stderr shared by
> the child process.
> --- steve donovan <firstname.lastname@example.org> 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 <email@example.com> 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.