Copy parent process state

If i have some data in my current process state and I start a new process (e.g. Task.async), is there a way to copy/inherit the parent process state, or i have to pass the data to the child process state explicitly?

Everything has to be passed explicitly. The only thing inherited is the group_leader - the process that handles stdin/stdout (since IO is also done using message passing).

1 Like