crosswalk-project/crosswalk — pull request #1346 by vcgomes (2013-12-16 20:13:40+00:00)
Title: [Application][Linux] Add a tool to launch applications

Add a tool used to launch applications, it has two modes of operation:

1. it receives an App ID as its only parameter, and tries to launch that application;

2. It is called by the Tizen launcher, being a symbolic link to the xwalk-launcher binary, with name of the link being the App ID (so its argv[0] is equal to the App ID).

After the App ID is extracted it uses the org.crosswalkproject.Running.Manager to launch the Application, and follows the lifetime of the object returned (that implements the org.crosswalkproject.Running.Application interface).