Kodi Community Forum
using plink to kill and restart from powershell - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: using plink to kill and restart from powershell (/showthread.php?tid=226486)



using plink to kill and restart from powershell - haverer2 - 2015-05-09

Hi,
Wondering if anyone can assist.... I have the following powershell script.
The problem is it doesn't return to powershell until i CTRL C - which means the rest of the scipt can't run.... any ideas?
Thanks.

s:\software\Putty\plink.exe -ssh "192.168.0.121" -l "sshuser" -pw "sshuser" sudo pkill kodi; sudo -u pi kodi&