[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Portably iterate over a directory
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Tue, 1 Dec 2009 14:42:18 +0100
2009/12/1 steve donovan <email@example.com>:
> On Tue, Dec 1, 2009 at 1:34 PM, Jerome Vuarand <firstname.lastname@example.org> 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 ? Personnally the only problem I see is that it may open a
console if there isn't one already, but I have a win32 API binding to
work around the problem.