How legato framework create a kernel process from an application definition?

When I load my application to target and connect to ssh via usb interface and type list of available process:

$ps -aef

I can see a process name associated with my application defined in .adef. How Legato framework do this? As we know that all linux process is created from a system call fork(). So where and when this process is created?

probably you need to study here:

Thank you @jyijyi , but still can’t fiure it out. In link you gave, the fork() is called in file process.c from a function le_proc_Execute(). However, I could not see in my application workspace anyone calling this function. Nor in platform code in ~/.leaf folder.

Why do you need to know this?
Do you encounter any problem with your app?