Re: join_path misbehaviour on Windows
- Posted by axtens_bruce Mar 15, 2024
- 638 views
So I'm working around it with
sequence userprofile = {} ifdef WINDOWS then userprofile = getenv("USERPROFILE") elsedef userprofile = getenv("HOME") end ifdef sequence root = join_path({userprofile,".task"}) ifdef WINDOWS then root = trim_head(root, "\\") end ifdef