You can skip `os.eviron`, and just use:

args.extend(["--ipython-dir", ipydir]), which will put the profile in this/profile_default, rather than forcing the profile_dir to be the same as the ipython dir, which is weird.