Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Zitat:
start /b /wait CODESYS.exe --runscript="D:\Script\AmpelTest.py" --noUI 2>NUL
CODESYS suppresses all messages, except for script messages, which are printed to the command line.
I'm trying this but without success. I keep getting all messages in my console output which pollutes the important information for me. Trying to write to a txt file creates the file but does not output to it. Trying to do 1>NUL 2>NUL als results in no change.
Is there some bug or is the information not up-to-date anymore?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At https://help.codesys.com/api-content/2/ ... te-scripts there is a part where an explanation is given to suppress messages.
I'm trying this but without success. I keep getting all messages in my console output which pollutes the important information for me. Trying to write to a txt file creates the file but does not output to it. Trying to do 1>NUL 2>NUL als results in no change.
Is there some bug or is the information not up-to-date anymore?