Forum > Options
Running console programs
(1/1)
elio:
Hi. I'm using Lazarus latest CVS and FPC 1.0.11.
Is there a way to run a program in the terminal? Or i have to run it manually all the time?
Thanks.
-- Elio.
Vincent Snijders:
The way I thought it would work, is to use xterm as launching application. You can set this option in the Run Parameters dialog you can find in the Run menu.
I just tried to do it myself, but it crashes lazarus with a Gdk-Error:
Gdk-ERROR **: BadWindow (Invalid Window parameter)
serial 72991 error_code 3 request_code 10 minor code_code.
Apparently this needs some debugging.
I am running lazarus with fpc 1.9.3 both about a week old from CVS.
Marc:
Note that if you run your app in a terminal, you can't use the debugger.
-=Fox=-:
Have you tried this?
Shell ('xterm & myprogram');
Anonymous:
Have you installed the lastest GDK /GTK , X11 libraries....
Navigation
[0] Message Index