Sub Kill As Boolean
Private sh As Shell
sh.Initialize("shl", "sudo", Array As String("pkill","nodejs"))
sh.WorkingDirectory="/home/pi/OpenPLC_v2"
sh.Run(1000)
'
sh.Initialize("shl", "sudo", Array As String("pkill","-f","./core/openplc"))
sh.WorkingDirectory="/home/pi/OpenPLC_v2/core"
sh.Run(1000)
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.