It sounds like the startup shell script is not being parsed correctly. This leads me to wonder if your version of the RPi os has got dash (rather than bash) as the default system shell.
There are some (not so) subtle differences between the various system shells that can trip up shell script authors…
Urk! Apparently dash is a bit faster than bash which is why /bin/sh is linked to dash rather than bash.
Note that changing the symlink may have unintended consequences for other system scripts - you might be better simply editing the devstudio file to point to /bin/bash instead of /bin/sh
Also, I don’t think DS 2.xx was ever released for Linux - only DS3.xx was.
So I didn’t have any success pointing to dash or bash.
Or running the initial install with bash or dash as the sh link.
Clearly I’m not articulate enough with my linux
For now have got distracted with work, but when I get the chance i’ll get back on it and maybe have more to put in this post… You know, incase anyone else comes along feeling like doing something as stupid as compiling openat on a pi…