[Gambas-user] Execute Gamabs?

Ron_1st ronstk at ...239...
Tue May 5 18:16:55 CEST 2009


On Tuesday 05 May 2009, Stefan Miefert wrote:
> Message
> 
> No protocol defined
> 
> -----Ursprüngliche Nachricht-----
> Von: Werner [mailto:wdahn at ...1000...] 
> Gesendet: Dienstag, 5. Mai 2009 15:28
> An: mailing list for gambas users
> Betreff: Re: [Gambas-user] Execute Gamabs?
> 
> Stefan Miefert wrote:
> > Hello,
> >
> > the gambas program is a gtk program. When I start it via console I get an error. Canot open display
> >
> > how can I fix this? 
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Stefano Palmeri [mailto:rospolosco at ...152...] 
> > Gesendet: Dienstag, 5. Mai 2009 14:35
> > An: mailing list for gambas users
> > Betreff: Re: [Gambas-user] Execute Gamabs?
> >
> > Il martedì 5 maggio 2009 14:22:36 Stefan Miefert ha scritto:
> >   
> >> Hello,
> >>
> >> i want to execute a gambasprogramm like this
> >>
> >> exec("test.gambas")
> >>
> >> but how can I start a gambas programm in the terminal?
> >>
> >> I get always the answer "not found"
> >>
> >>     
> >
> > You have to copy test.gambas in one of the directory of your
> > PATH variable.
> >
> > On console type:
> >
> > echo $PATH
> >
> > to know the directories where executables are searched for. Just
> > copy test.gambas in one of them (/usr/local/bin or /usr/bin).
> >
> > In Gambas you could know the PATH variable with:
> >
> > PRINT Application.Env["PATH"]
> >
> > Saluti,
> >
> > Stefano
> Before you run your program, you could try to type
> 
> xhost +
> 
> Does it make a difference?
> 
> Regards
> Werner
> 
> 
> 
> PS: You might get more people willing to respond if you refrain from top
> posting. It really messes up the chronology.
> 

interesting.

Best regards,

Ron_1st

-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
---
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
---
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 




More information about the User mailing list