[fpc-pascal]execl

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue May 15 13:15:24 CEST 2001


On Tue, 15 May 2001, jordi wrote:

> I'd like to know why after a sentence like this :
>
> if paramstr (1) = '-h' then
>   begin
>      execl ('/usr/bin/man manual.page');
>       halt ();
>    end;
>
> the terminal does not work more. How can I restore the terminal ??

This is hard to say. Are you using the CRT unit ? if so, then this
is probably the cause; try removing the CRT unit, or use the ncrt unit.

Michael.





More information about the fpc-pascal mailing list