[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: new thought experiment: what would you add to Lua ?
- From: Frank Kastenholz <fkastenholz@...>
- Date: Sat, 15 Sep 2018 16:18:47 -0400
Like io.popen?
(FWIW - depending on where you port/install Lua, there are a bunch of other things you may not have ... but I digress)
On Sep 15, 2018, at 2:44 PM, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>>> "Frank" == Frank Kastenholz <fkastenholz@verizon.net> writes:
>
> Frank> os.setenv, as a counterpart to os.getenv?
>
> There's a reason for that not to exist - getenv() is part of ISO C, but
> there is no standard C function to _set_ environment vars, because that
> is platform-dependent territory.
>
> --
> Andrew.
>