What I need is when program.exe stopped working it needs to be re-started.
I added both below lines to one by one to ~/.config/lxsession/LXDE-pi/autostart but it didn't help
Code: Select all
sudo /home/pi/Desktop/program.exeCode: Select all
cd /home/pi/Desktop; ./program.exeCode: Select all
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@cd /home/pi/Desktop; program.exe
Do you guys have any idea? Thanks in advance
Ps: it is not a gui program