Hello,
I have a strange behavior in regards to print(), sometimes when the print() function is inside a user defined function in the script it prints in the terminal (that is opened when open salome in linux) other times it prints in the python console. is there any way to control this behavior? so if it runs from not GUI (so salome -t script.py
) it will print in the terminal (this is working correctly wherever i place the print and if it runs from the GUI it will output everything to the python console inside the interface.