[Gambas-user] Execute Gamabs?

Werner wdahn at ...1000...
Tue May 5 15:28:14 CEST 2009


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.





More information about the User mailing list