[Lazarus] Mac OS X : Using TProcess to launch Unix command to Copy a Directory

Dominique Louis dominique at savagesoftware.com.au
Sat Jun 21 23:48:55 CEST 2008



On Sat, 21 Jun 2008, Michael Van Canneyt wrote:

> 
> Hi,
> 
> The 'run' menu no longer works.
> 
> Compiling and running a test program results in  the following output:
> 
> Free Pascal Compiler version 2.3.1 [2008/06/02] for x86_64
> Copyright (c) 1993-2008 by Florian Klaempfl
> Target OS: Linux for x86-64
> Compiling testedit.lpr
> Compiling frmtest.pp
> frmtest.pp(48,33) Hint: Parameter "Msg" not used
> frmtest.pp(19,39) Hint: Parameter "Sender" not used
> frmtest.pp(18,26) Hint: Parameter "Sender" not used
> frmtest.pp(33,23) Hint: Unit "LMessages" not used in frmtest
> Linking testedit
> 289 lines compiled, 2.1 sec
> 2 warning(s) issued
> 6 hint(s) issued
> [TCompiler.Compile] end
> [TDebugManager.DoInitDebugger] A
> [TCmdLineDebugger] Debug PID: 4858
> 
> And that's it. No running, no nothing. I do see the following in the process list:
> 
> michael   4858  0.0  0.1  20408  2560 pts/1    S    14:58   0:00 /usr/bin/gdb -silent -i mi -nx
> 
> Version of gdb: GNU gdb 6.6.50.20070726-cvs
> 
> The program runs fine on the command-line, and runs fine under gdb itself.
> 
> This is with the latest Lazarus sources.

Small follow-up. When I stop lazarus, I get the following output:

[TCmdLineDebugger.Getoutput] Error waiting
Last message repeated 2 times: "[TCmdLineDebugger.Getoutput] Error waiting "
Last message repeated 4 times: "[TCmdLineDebugger.Getoutput] Error waiting "
Last message repeated 8 times: "[TCmdLineDebugger.Getoutput] Error waiting "
Last message repeated 16 times: "[TCmdLineDebugger.Getoutput] Error waiting "
Last message repeated 32 times: "[TCmdLineDebugger.Getoutput] Error waiting "
Last message repeated 64 times: "[TCmdLineDebugger.Getoutput] Error waiting "

Michael.



More information about the Lazarus mailing list