Thanks mateFound this on the net hope it helps..........dave
https://www.creativecrash.com/forums/...ommand-port--2
You could also try this?
In Maya preferences, under “Applications”, at the very bottom is an item named “Default Command Port” that you can choose to enable or disable. Named “commandportDefault”
Disable it and you wont see the msg in the sript editor anymore