@crispyoz Hi Sir,
I am facing few problems, When i am running while loop python programs in boot mode(it means when the power comes automatically program should execute)after my reboot command is not executing.
For that i have added in /etc/rc.local file
start-stop-deamon -b -S -x python /root/hello.py
after added this command i am able to executing Reboot command also. So this is the only way we have to do or any other options are there?.
I will try your methods to increase my knowledge.