我已经安装了deluge,并希望使用execute插件通过powershell发送pushover消息
set torrentname=%2
powershell.exe -ExecutionPolicy Unrestricted -File C:\Pushover-DelugeNotify.ps1 %torrentname%我已经创建了上面的,但由于某些原因它不工作我看到一个cmd窗口闪现,关闭,但没有消息通过。
我试过了
powershell.exe -ExecutionPolicy Unrestricted -File C:\Pushover-DelugeNotify.ps1 "Test"这样做没问题。
我做错了什么?
发布于 2016-09-13 20:14:16
如果批处理中没有其他参数,则应该使用"set torrentname=%1“
set torrentname=%1
powershell.exe -ExecutionPolicy Unrestricted -File C:\Pushover-DelugeNotify.ps1 %torrentname%https://stackoverflow.com/questions/39469526
复制相似问题