Executing .sh File from Unreal Engine in Linux

Hi, I am Using Unreal Engine 4.27 with Airsim to make a drone simulation environment. I am trying to excecute .sh file that contains terminal command to execute ardupilot. It required to be started with we start the level play button. I tried putting in GameMode.ini with command (+ExecCmds= “!ScriptCommand /home/…/execute_ardupilot.sh”), it didn’t change anything. I tried with level blueprint as well with execute console command, i couldn’t make it work. Can anyone suggest me the better way of executing .sh file with button or start play in unreal engine?