简体   繁体   中英

Python script not terminating properly in Notepad++

I have installed anaconda3 and notepad++, I'm trying to link NppExec, a Notepad++'s plugin so that not only I can run both pure python and other libraries (like matplotlib or numpy). I have found one solution at: Cannot run conda command 'activate' with NppExec plugin of Notepad++

This solution works, however when I run it the execution of the process does not terminate and I am forced to press Ctrl+C in the console to terminate it manually. I think this is due to anaconda's activate file not having an end (probably in the bat file?). Is there a workaround to this? Maybe with a termination clause in the bat file or a clever workaround in notepad?

正如贾斯汀评论的那样使用 activate.bat & python "$(FULL_CURRENT_PATH)" 并在执行后自动关闭

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM