I have done this with; SHELL "gbr2 " & Path &/ "programname.gambas" and I haven't run into any problems.
Jussi On Tue, May 5, 2009 at 19:16, Ron_1st <[email protected]> wrote: > On Tuesday 05 May 2009, Stefan Miefert wrote: >> Message >> >> No protocol defined >> >> -----Ursprüngliche Nachricht----- >> Von: Werner [mailto:[email protected]] >> 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:[email protected]] >> > 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? > > > ------------------------------------------------------------------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
