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