But the terminal is always closed when program is sent. Probably because it would conflict with the transfer - right?
This has something to do with Windows... It is not possible to share a COM port, there is one owner only!
This has NOTHING to do with Windows. It has to do with the nature of a COM port. Only one device can be on each end of a COM port at one time.