run the "runner" in a non-interactive shell so the profile will load
(which may set the path)
delay a second to give the editor time to create the file