There is no error message, the command just don't get executed properly.
I did some more testing and was able to narrow down the problem more. The specific CMD command ipconfig seems to play a role here.
Whenever I let PAD write the command ipconfig to CMD session, CmdOutput holds different outputs depending on which window the Flow has been started from.
When starting the flow from edit window, the result is as expected, CmdOutput holds the usual expected information about Windows IP configuration, ethernet adapters, IPs, subnet masks etc. etc.
When starting the flow from main window CmdOutput holds only this information:
Microsoft Windows [Version 10.0.18363.1440]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Program Files (x86)\Power Automate Desktop>ipconfig
Nothing more.
I tested another CMD command: dir generates the same expected output no matter which PAD-window I start the flow from.
What am I missing? Any idea what causes this problem? Can I add something to my flow to prevent this from happening?