Communication between UI and Core on windows machine
<p>I am working on an GUI based application, that is developed using python and go. I am using python(+Kivy) to implement UI and Go to implement middleware / core on windows OS.</p>

<p>my problem statement is : </p>

<p>1) I want to run the exe of the core on launching the application and it should remain in the background till my application is closed.</p>

<p>2) When an event is triggered from the application, a command is sent to the core, which it turns execute the command on the remote device and returns with the result of command execution.</p>

<p>I want to know, how I control the lifetime of the exe and how I can establish a communication between the UI and Core.</p>

<p>Any ideas!!</p>