LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to write a file of type applicatio in linux (https://www.linuxquestions.org/questions/linux-software-2/how-to-write-a-file-of-type-applicatio-in-linux-371469/)

kamesh156 10-10-2005 06:04 AM

how to write a file of type applicatio in linux
 
i wrote a shell script to invoke my application and i gave the executable permission to that .sh file.my need is while double click that .sh file my app should run. yes its working, but the problem is everytime while double click the .sh file, a msg box is appearing with the following options Run, Run in terminal, Display and Cancel. how to avoid the msg box or any other ways to invoke my application?

jtshaw 10-10-2005 06:10 AM

Does your script have #!/bin/bash (or whatever type of shell script it is) at the top?

kamesh156 10-10-2005 06:28 AM

i didnt mension any thing in my script my actual coding is

cd /home/myfolder
./myapp mystartupfile

thats it..
is there anything i have to add in the firstline?


All times are GMT -5. The time now is 07:37 AM.