[fpc-pascal]A couple of things:

md md at realmwireless.com
Tue Oct 31 18:02:30 CET 2000


A concepts I cannot resolve:

Is there any way to have one process execute another totally different
process without having
to wait for the spawned process to terminate before continuing on?

Exec( ) style functions will create a child and wait for the child to
terminate before 
continuing execution.  What I am looking to do is to create a completely
different process
and have the Exec( ) function return as soon as the new process is
started, not when it terminates.

One idea is to have the child process daemonize itself so that it spawns
its own child.  The daemonized process
will then return to the orignal parent, thus allowing it to continue
execution.  

I am looking for nothing shared between the original process and the
spawned process.  Even the child executable
is actually a separately compiled program.

Any ideas?

Mark Diener
md at realmwireless.com




More information about the fpc-pascal mailing list