Restart legato application from itself

Hi,
Is it possible to restart the legato (not sand-boxed) application from the application itself?

I was trying to do:
popen(“app restart myApp”, “r”);
or
system(“app restart myApp”)

without luck, the application does not get restarted.

I’m aware of le_framework_Restart but this looks an overkill for me.
Thanks,
Rafi

You can have a look here to use faultaction in .adef file.
You might change it to" restartApp" in order to restart the application.