怎么实现在notepad++中调用powershell直接运行python

在notepad++中调用cmd直接运行python代码: cmd /k D:\Python27\python.exe "$(FULL_CURRENT_PATH)" & PAUSE & EXIT

请问在notepad++中调用powershell直接运行python代码对应的代码是什么?

对于PowerShell 5.1及以前的,powershell -noexit D:\Python27\python.exe "$(FULL_CURRENT_PATH)" ; cmd /c pause ; exit

对于Core,pwsh -noexit -command, 其余的和上面一样
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答