dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

Make tasks groups executable from console #1179

Closed jensschmeink closed 6 months ago

jensschmeink commented 6 months ago

If a task is organized in a task group which might not be the default group (normally the users group) the task cannot be executed in the console application.

This is fixed in this PR. Call the run function now as following: GTlabConsole run (last one is optional)

Description

If the given is not empty the task group is switched to the given group and the task is searched and if found executed. For a cleanup of the batch the functions related to process execution are extracted to new files in a new namespace.

How Has This Been Tested?

Manual tests of execution of a task which is part of another task group

Checklist:

jensschmeink commented 6 months ago

Most changed lines are the results of the switch from qDebug to gtLogging and the move of the process execution related functions to new files

rainman110 commented 6 months ago

Please append the changelog!