On 27 Jul 2015, at 8:03pm, Zsb?n Ambrus <ambrus at math.bme.hu> wrote:

> Does this work with the same environment variable name on both unix
> and windows?  I'm asking because unix and windows programs each use
> different conventions for what environment variable to care about when
> determining the temporary directory, and these conventions differ on
> unix and windows, though I believe TEMP is the customary variable on
> windows

I tried this once a couple of years ago, and both platforms use whatever the 
expected variable name was for that OS.  In other words, a native programmer to 
that OS would get whatever behaviour they expected.

If it's going to be documented, it would also be nice to see it on

<https://www.sqlite.org/tempfiles.html>

which, according to my browser, doesn't mention the word 'environment'.

Simon.

Reply via email to