I may have to use some cmd commands to get info about the system like HID or MAC reliably, for which I am trying to use subprocess.check_output, as the easiest way. However the problem I get on Windows is that this call always makes a black cmd window pop up for a moment. This is something that would be very annoying to have on each startup of any tool, or like in general.
Is there any way of executing shell\cmd commands in Maya from Python on windows without making that black window pop up?
Or maybe there are alternative ways of getting unique hardware ID from current system and getting a MAC from a certain LAN IP?