Hi,

In message "Can I get data back from a fork?"
    on 02/07/24, Jim Freeze <jfreeze / freebsdportal.com> writes:

|Is there a way to get data back from a fork?

You have to use either pipe (between parent and child processes) or
thread (instead of fork).

							matz.