[fpc-pascal] Re: xterm -e program-compiled-with-fpc2.4.0 doesn't work

Bernd prof7bit at googlemail.com
Mon Mar 5 00:31:22 CET 2012


2012/3/5 Bernd <prof7bit at googlemail.com>:

> it was only meant to keep the xterm
> open a few more seconds to read any error message that *might* occur
> when your program refuses to run.

you can also try the following (more elegant):

xterm -hold -e yourprogram

without the sleep. This would hold the xterm window open, no matter
what error happens while trying to execute "yourprogram". Because
normally the xterm will close immediately when the command executed by
-e finished. Maybe your program exits normally and is just too fast to
see the output?



More information about the fpc-pascal mailing list