[Gambas-user] Execute Gamabs?
Stefan Miefert
smiefert at ...784...
Tue May 5 15:51:47 CEST 2009
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.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list