Error under wsl when `'` is included in the name

Pretty much as the title says. I was running under wsl, inside a directory containing a ' in the name

When trying to launch the program, the path is not escaped correctly, and the ' breaks the command

image

I don't know if a fix is trully necesary. I just wanted this problem to be documented somewhere, so if anyone else comes across this problem, they know what's happening and that it's easily solved by changing the directory's name