How to send command line commands to Mavproxy using Pymavlink or python?

Anyone knows how can I send command line commands to Mavproxy using Pymavlink or python.

For example I like to send a command like this using python

output add 192.168.1.1:14550
or to load a certain module
These are not mavlink messages but mavproxy command.

Anyway to do it using Python and not manually using command prompt?

sorry to bump this but I’m interested in an answer of how to do this. Was this ever solved?

I wanted to document my solution, which diverges slightly from the original intent but accomplished the purpose using a related method. I used the --cmd flag in a .bat file that was called by python to start mavproxy and that allowed me to send command through the --cmd flag. This only allowed commands to be sent upon startup, so after the commands were sent initially no more could be called using this method.