dlr-gtlab / gtlab-core

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

Fixed multiple problems in batch commonad "gtlabconsole run -f ..." #1255

Closed rainman110 closed 2 months ago

rainman110 commented 2 months ago

Description

  1. Fixed "GTlabConsole run -f project.gtlab -s" not saving changes to the project
  2. Fixed task group argument ignored in batch command "GTlabConsole run -f project.gtlab"

The reason for problem 1. was, that the process executor was setup to do a dry run, resulting in not merging back the changed memento, allthough the project was technically saved.

The reason for problem 2. was, that the argument "GroupID" was simply not used accidentally.

To avoid these problems in future, I changed the code to reuse the existing function runProcess.

How Has This Been Tested?

Local Changes and in Sketchpad regression tests.

Checklist: