lua-users home
lua-l archive

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

On Tue, Dec 1, 2009 at 1:42 PM, Jerome Vuarand <> wrote:
> 2009/12/1 steve donovan <>:
>> On Tue, Dec 1, 2009 at 1:34 PM, Jerome Vuarand <> wrote:
>>> AFAIK io.popen works on Windows (I'm using it daily, and I don't
>>> remember having patched it apart from my unicode patch).
>> With the exception of Windows GUI applications, where it simply does
>> not work. Fine for console apps, however.  (There are equivalent ways
>> to do this on Windows, I'll dig them up if you're interested, but yes,
>> they do require an extension ;))
> I'm using it in GUI applications too. What kind of problems do you
> have ?

According to Microsoft's documentation
( : "If used in
a Windows program, the _popen function returns an invalid file pointer
that causes the program to stop responding indefinitely. _popen works
properly in a console application.", so it shouldn't work in a GUI