Hello,

Is it possible to use POE and the fork function in the same script.
I am running into an interaction problem where the POE::Kernel does not
return if i have forked off other process outside of the POE. Any input on
what I may be doing wrong

Here is the psuedo code logic of my script

#--- Call a function to fork off a process to start tailing some files
#--- store its the above pids so we can terminate later

#--- Call POE::Wheel::Run to do some task

#--- After the above POE task returns kill the tailing process


If i do not do the forking for tailing files, the POE::Kernel returns after
the
task is completed, but if I fork of the tailing process as above,
the POE::Kernel never returns.

Any input will be appreciated.

Thanks in advance.

BR
  DP
p.s: I thought i had read about this interaction somewhere in documentation
but am not
      able toget to it to follow discussion around it, if any.

Reply via email to