dump the /bin/bash
use a shebang/ crunch bang  '#!' as the  first line , you dont need to pass
/bin/bash
ur first line is den
#! /bin/bash

just give any random name , quite immaterial actually something that makes u
happy perhaps
in command pass any path format to it (canonical/real/relative)
i am guessing u have botched up permissions :P (make executable
appropriately)

Dhananjay Deepak Sathe | +919764871950
[email protected],[email protected]
Blog : http://dsathe.blogspot.com
2nd Year Undergraduate,
BE(Hons) Electronics and Instrumentation,
BITS Pilani Goa Campus.



On Thu, Jun 30, 2011 at 2:08 PM, Nilesh Govindarajan
<[email protected]>wrote:

> On 06/30/2011 01:43 PM, Paul Davies wrote:
> > Hi,
> >    I was developing a GUI application based on shell scripting
> > language. In order to launch the application by clicking  it once, I
> > took the help of Menu editor in my Kubuntu. In the menu editor I was
> > asked to fill up details like Command, Terminal option etc.. I gave
> > Command as '/bin/bash Script_name' and Terminal option as '/bin/bash
> > path_of_the_script' . I saved it and tried it launch. It did got
> > launched, but along with it the terminal too is getting opened up. How
> > can I prevent terminal from launching? And is this the right way to
> > make launch script based  applications? Please help me.
> > --
> > Regards,
> > Paul Davies C
> > vivafoss.blogspot.com
> >
> Well, on KDE I'm able to execute a file irrespective of its extension
> just be double cliking it, provided the executable bit is set for it.
>
> --
> Regards,
> Nilesh Govindarajan
> @nileshgr on twitter/identica
>
> --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to