Re: join_path misbehaviour on Windows
- Posted by axtens_bruce 2 months ago
- 324 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