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

Bernd prof7bit at googlemail.com
Mon Mar 5 00:12:17 CET 2012


2012/3/4 max <m.euer at planet.nl>:
> Done what you suggested:
> program runs again via xterm -e "program ; sleep 0 " with fpc 2.4.0; however
> no error message; same with 'sleep 10' !
> So Thank You very much for that, Bernd !

This is strange. Actually the suggestion to put a sleep behind it was
never meant to fix the problem, 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.

What kind of programs are you writing? Did you also try some extremely
simple programs like for example:

begin
  writeln('hello world');
  readln;
end;



More information about the fpc-pascal mailing list