poke-devel
[Top][All Lists]
Advanced

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

Re: Can we assume HOME is defined in the environment?


From: Bruno Haible
Subject: Re: Can we assume HOME is defined in the environment?
Date: Mon, 22 Feb 2021 00:38:39 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-201-generic; KDE/5.18.0; x86_64; ; )

Hi José,

> In other words: can we safely assume HOME
> is defined?  I am thinking on mingw targets here..

Good point. Indeed, while on Unix you can assume that HOME is set,
except in services that get started during boot time, on Windows
HOME is not set by default; instead you need to use the concatenation
of ${HOMEDRIVE} and ${HOMEPATH}. It was like this in Windows 95, and
is still like this in Windows 10.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]