For a while now, I have had my project files on my new computer directly connected to the unreal editor executable due to not setting it up correctly. And recently, I was trying to set the application to launch using “unreal engine” and not the editor executable. After using the Unreal version selector and setting the file to Unreal engine and not the Editor executable, it just gives me an invalid command line error every time I want to open that file when it is set up how it should be.
The first two images are how it should be, and the bottom 3 are how it is at the moment