lua-users home
lua-l archive

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



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.
>