2012/3/5 Bernd <prof7...@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?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to