I’m trying to send data to a remote device using mender-cli
. It works fine on Linux, but I’m running into issues on Windows since mender-cli
isn’t officially available there. Is there any workaround or alternative method to get it working on a Windows system?
Here’s the relevant part of my code:
result = subprocess.run(
login_cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
check=True
)
The login_cmd
I’m passing looks like this:
['mender-cli', 'login', '--server', 'https://eu.hosted.mender.io/', '--username', 'a.gl@gmai.com', '--password', 'ABC']
This works perfectly on Debian Linux, but fails on Windows.
How can I get this working on a Windows system?