Set the working directory according to the editor file path (#14688)

Kernels now launch in the same directory as the script invoking them,
similar to notebook behavior.


![image](https://github.com/user-attachments/assets/def86308-bea4-4fa3-8211-132a282a5ecc)


Release Notes:

- N/A
ba4fa17b83Kyle Kelley committed on 7/17/2024, 10:37:47 PM· committed by GitHubparentf5f4578
4 files changedLine totals unavailable