I have a binary file say "x" and when I execute it from terminal it does some stuff and waits for user to enter "\" and "enter key" to exit. I execute this binary(x) file like below an it works perfectly fine.
./x
My requirement is that I need to execute this binary from a uDeploy shell script. This uDeploy script will be executed whenever it is required. Below mentioned is uDeploy shell script content to execute binary:
echo "Start"
cd /home/script
./x
echo "End"
Problem I am facing is, from terminal binary execution works fine but when I execute uDeploy script which internally executes the binary file does not do anything. When I execute the above uDeploy script I get the below output
Start
End
What am I missing here ?