summaryrefslogtreecommitdiffstats
path: root/process.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change license text5.6Rainer Keller2016-11-281-11/+14
| | | | | Change-Id: I74e5115a032cd94d245e63d7d9e47f3d028e0110 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Do not kill the process groupRainer Keller2016-03-091-2/+0
| | | | | | | | | When restarting an application the process seems to kill itself. Task-number: QTEE-1085 Change-Id: I88598fe4bd6ed5423c1412036eaf1ea1572bc889 Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
* Remove Android codeRainer Keller2015-08-181-74/+0
| | | | | Change-Id: I8a69405655483c6bbd9f402df4a06a1020b6bebe Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
* Make appcontroller a temporary daemonRainer Keller2015-06-091-1/+11
| | | | | | | | | For a restart being successful the application has to be shut down with out terminating the appcontroller. Afterwards the appcontroller will be able to start the application again. Change-Id: I38fd0aded176a10dac40c419b6866ce70ec1fcef Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Add command to restart current applicationRainer Keller2015-06-081-12/+38
| | | | | | Task-number: QTEE-931 Change-Id: I0ad4246750142289cca2a4cbf853211a60538362 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Send command string between appcontroller instancesRainer Keller2015-06-081-2/+28
| | | | | | Task-number: QTEE-931 Change-Id: If0efdafdd5e39523d315be86cda07f69e2387e16 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
* Fix compile warningsRainer Keller2015-06-031-2/+3
| | | | | Change-Id: I05fb9bca47f5bcfc3f127eb9a60e6be8bda8193a Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
* Don't abort if the output buffer overflowsUlf Hermann2015-03-241-0/+12
| | | | | | | | | EAGAIN on write(2) is not really a fatal problem. We can just select(2) and try again when the buffer is ready. We include the signal pipe into the select so that we can abort it. Change-Id: I827a3f184922d696e0e07fe1ac014502af1d51cc Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Add perf profiler run modeUlf Hermann2015-03-021-9/+29
| | | | | Change-Id: If2f84bec32957ab9c45df503efaf592cebbd4f72 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Fix typo in license headerRainer Keller2015-01-261-1/+1
| | | | | Change-Id: Id5759179f5a3e282a7ef3bf3bf7ddd9300bad4b7 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Revert "Always create a process group and session"QtEE_v3.2.0Rainer Keller2014-10-071-4/+2
| | | | | | | | | This change introduces bug QTEE-784. This reverts commit 224cdd83d41d659ec166f7177a549d391ed1d5cc. Change-Id: I925b0fa4b75b22a19374a5229eb651df2352aa00 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* Change copyright noticeRainer Keller2014-10-061-2/+2
| | | | | | | URL points to qt.io Change-Id: I54c58d389f261a5d3fc5e38799cd8edc7204d798 Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* Always create a process group and sessionRainer Keller2014-08-141-2/+4
| | | | | | Task-number: QTEE-641 Change-Id: Id2476d51834f29be8f7628f61642f9f9d552ccda Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Use compile time connectionsRainer Keller2014-08-011-6/+6
| | | | | Change-Id: I0322e8f594a07d0173a732e5036e4d9ca524232c Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Print crashed application binaryRainer Keller2014-07-101-1/+1
| | | | | | | This is used to detect which application has crashed. Change-Id: I5bc4aba7d2f1a8e15f0fb58f444c2b243a2c8a22 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Use printf to output informationRainer Keller2014-04-071-3/+3
| | | | | Change-Id: I7807ef0a072b9559c618b80bd85d875de1260ce0 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Change copyright to 2014Rainer Keller2014-02-111-1/+1
| | | | | Change-Id: Iff47d3d76366da8b3be1927b6de30387d2549f92 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Let user override default variablesRainer Keller2013-12-111-2/+4
| | | | | Change-Id: I9b17ccd2a5afd2c4b85142d84c4b63242da00c78 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Start process with interactive process environmentRainer Keller2013-12-051-0/+71
| | | | | Change-Id: I4fb38bd85099f1f9c3816f28abde04914c7e3abf Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Add license headersRainer Keller2013-11-191-0/+18
| | | | | | Change-Id: I8973e0326069fee2445f70c1ed231235efec0b06 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
* Analyze binary if start failsv1.0.0-RC5v1.0.0-RC4v1.0.0Rainer Keller2013-10-171-3/+52
| | | | | | | | In case the binary does not start successfully some checks are done to find out what may be wrong. Change-Id: I01e466482b2847068227d9469b9d99dc33f7f9eb Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Export 'base' and 'platform' to process environmentRainer Keller2013-10-161-0/+4
| | | | | Change-Id: Icabdb392c295557b31832d8a0c684be8d591b3c6 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Add an option to forward process messages to qDebugLaszlo Agocs2013-10-091-0/+6
| | | | | | | | | | There has to be a way to get the process debug prints visible without Creator too. Launching appcontroller with --print-debug will now forward all process messages to qDebug so they can be seen with logcat. Change-Id: Ie50a044fb3f85a45dafd50b90e9de7c58e450a5d Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Show process errors and exitRainer Keller2013-07-081-2/+22
| | | | | Change-Id: Ie1b2d357c7cd259df1544305b9205e8d34265732 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Support GDB and QML debuggingRainer Keller2013-07-041-2/+1
| | | | | | | | | | | | --debug option removed. Instead there are --debug-gdb and --debug-qml now --start option removed. The first non-recognized argument is treated as binary to execute and following arguments as its parameters. --port-range has to be specified if any --debug-* option is used Change-Id: I851ab2b36a73adfb6a1fbc14da3462c9d27cd620 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Add platform information to config fileRainer Keller2013-06-181-27/+10
| | | | | | | | The config file may contain information about base system and platform. The new option --show-platform prints these to stdout. Change-Id: Idd64ca4527e808a83b8c10e6621b6ef431329110 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* Support for linux specific pathsSamuli Piippo2013-05-171-0/+4
| | | | | | | Install path and conf location are different in linux. Change-Id: I65b7bfef1cc3a9b52c8a81a3d7a5dedf0f0d48b4 Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Handle more signalsRainer Keller2013-04-171-1/+3
|
* Handle SIGINT and SIGKILLRainer Keller2013-04-171-0/+19
|
* Add debugging supportRainer Keller2013-04-171-0/+137