lua-users home
lua-l archive

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

On Tue, Nov 2, 2010 at 2:39 AM, Lorenzo Donati wrote:

> Is there a simple way (stock Lua 5.1.4) to make a Lua script behave
> differently depending on whether it is executed in a MSWindows shell or not?
> I hope someone has found a clever trick that can solve my problem. :-)

I'm not on Windows right now, but does os.getenv("CMDCMDLINE") look
any different between scite vs. console?

 - Jeff