# Console Pi StartUp

**URL:** <https://forum.xojo.com/t/console-pi-startup/58971>\
**Category:** Getting Started\
**Created:** [November 20, 2020, 3:55am UTC](https://forum.xojo.com/t/console-pi-startup/58971 "2020-11-20T03:55:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pathma\_Mu](https://forum.xojo.com/letter_avatar_proxy/v4/letter/p/77aa72/32.png) [@Pathma\_Mu](https://forum.xojo.com/u/Pathma_Mu)\
**Post date:** [November 20, 2020, 3:55am UTC](https://forum.xojo.com/t/console-pi-startup/58971/1 "2020-11-20T03:55:56Z")

</div>

Hi Am using Pi4  
I want to run my exe from startup  
my exe use GPIO also  
I follow this one

> **[Auto-Launch Raspberry Pi Apps – Xojo Blog](https://blog.xojo.com/2017/05/15/auto-launch-raspberry-pi-apps/)**

But no luck for me.  
here is my rc.local file contents:

 ![image](https://forum.xojo.com/uploads/default/original/2X/5/5403d4bf30a06d55d9a786987cee473640511825.png)  
I try with sudo also but not work  
sudo /home/pi/Script\_IR4.0\_SensorHub/Script\_IR4.0\_SensorHub

Can anyone help me on this?

---

<div class="post-metadata">

**Author:** ![Jari\_Väisänen1](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/c6cbf5/32.png) [@Jari\_Väisänen1](https://forum.xojo.com/u/Jari_V%C3%A4is%C3%A4nen1)\
**Post date:** [November 20, 2020, 9:06am UTC](https://forum.xojo.com/t/console-pi-startup/58971/2 "2020-11-20T09:06:17Z")

</div>

Can you run the file directly:  
Does it run when you start it with direct command in folder _./Script\_IR4.0\_SensorHub_ ?

Check that the file has execute permissions?  
Check with _ls -la_ command, does the file have correct permissions.

Add execute permission with:  
_chmod +x_
