<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for snowman159</title><link href="https://forge.codesys.com/u/snowman159/activity/" rel="alternate"/><id>https://forge.codesys.com/u/snowman159/activity/</id><updated>2020-06-24T20:04:39.282000Z</updated><subtitle>Recent activity for snowman159</subtitle><entry><title>snowman159 posted a comment on discussion Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a682fea477/?limit=25#009b" rel="alternate"/><published>2020-06-24T20:04:39.282000Z</published><updated>2020-06-24T20:04:39.282000Z</updated><author><name>snowman159</name><uri>https://forge.codesys.com/u/snowman159/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a682fea477/?limit=25#009b</id><summary type="html">Thank you all for the feedback. I used Edwin's suggestion and created a python script. This seems to do the trick. Kind regards</summary></entry><entry><title>snowman159 posted a comment on discussion Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a682fea477/?limit=25#3a2d" rel="alternate"/><published>2020-06-13T14:10:28.121000Z</published><updated>2020-06-13T14:10:28.121000Z</updated><author><name>snowman159</name><uri>https://forge.codesys.com/u/snowman159/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a682fea477/?limit=25#3a2d</id><summary type="html">I have 2 Raspberry pi boards: - pi@PLC with the codesys project - pi@raspberrypi (the other one) I already made two buttons to shutdown and restart pi@PLC without problems. Then I made a 3rd button to shutdown pi@raspberrypi with the following code: PROGRAM test VAR _xDoExecuteShell : BOOL; _Retval: DINT; _pResult : Systypes.RTS_IEC_RESULT; _sCommand : STRING; END_VAR IF _xDoExecuteShell THEN _xDoExecuteShell := FALSE; _sCommand := 'ssh pi@raspberrypi -t sudo shutdown -h -P now'; _RetVal := Sysprocess.SysProcessExecuteCommand(pszComand:=...</summary></entry></feed>