Regardless of where your script lives, that still isn't the same as the cwd. And even if it were, "/noexit" is an absolute path so it still doesn't matter where the script lives or what the cwd is, unless the process is chrooted of course.
Except for a little twist on Windows. There it's not "absolutely absolute" and it means "the file or directory named 'noexit' in the root directory of the currently selected volume".
Jenda Enoch was right!
Enjoy the last years of Rome.