Fix dali-demo SIGKILL issue 56/265956/6
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 2 Nov 2021 10:09:32 +0000 (19:09 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 3 Nov 2021 06:03:47 +0000 (15:03 +0900)
commitc43f5c1bdf517c01fb0dd76b7df2c91c9b23021e
tree93a253cb2663c996cce09f89e7e07509d3bfd47e
parentd9b72be5a5dbcdf6bdb545ba8dfcfa8e0f3549d7
Fix dali-demo SIGKILL issue

Use capi-appfw-appcontrol instead of unix default fork().
If process group is connected, AMD check whole of them as same process.
So even if child process call ecore_shutdown, it's parent process also killed after 5 seconds later.
That's why dali-examples / com.samsung.dali-demo got SIGKILL from amd.

This patch separate execute logic between unix and tizen by -DTIZEN:BOOL=ON option.
TIZEN will be set ON only at packaging/com.samsung.dali-demo.spec

NOTE. app_control_send_launch_request need privilege 'http://tizen.org/privilege/appmanager.launch'.

Change-Id: I1d37a21f0d3091c0dc2fcbb4806900256e464aa5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
build/tizen/CMakeLists.txt
build/tizen/demo/CMakeLists.txt
build/tizen/examples-reel/CMakeLists.txt
build/tizen/tests-reel/CMakeLists.txt
com.samsung.dali-demo.xml
packaging/com.samsung.dali-demo.spec
shared/execute-process-tizen.cpp [new file with mode: 0644]