Reputation: 75
I am trying to run a simple print statement on notepad++. I have installed the npp python plugin and I have python 2.7 installed and can run python files on the command line outside npp but whenever I try to run a python file with F5 and have "C:\Python27\python.exe "$(FULL_CURRENT_PATH)"" on the program to run prompt, my command line closes instantly. Is there anyway I can fix this?
Upvotes: 0
Views: 2067
Reputation: 1614
This works:
cmd /k cd /d $(CURRENT_DIRECTORY) && python $(FULL_CURRENT_PATH)
Upvotes: 1