[fpc-pascal]two questions plz help
Michael Van Canneyt
michael.vancanneyt at wisa.be
Thu Jan 10 09:01:58 CET 2002
On Wed, 9 Jan 2002 phantasma at poczta.onet.pl wrote:
> Hello fpc-pascal,
>
> i have two questions :
>
> 1. how i can write multithreaded program in free pascal ( using
> linux unit and clone function ??? )
You just call clone with the right arguments, and that is it.
> 2. how i can move program to background - i want no output from
> program just its running in background ( to close command.com )
Under Linux, just do
If fork<>0 then
Exit;
Now the child is running in the background, and the parent has exited.
Michael.
More information about the fpc-pascal
mailing list