Submitter | Gregory Szorc |
---|---|
Date | July 29, 2019, 1:38 a.m. |
Message ID | <5d734ed277d9d1467dd3.1564364338@ubuntu-vm-main> |
Download | mbox | patch |
Permalink | /patch/41092/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/contrib/automation/hgautomation/winrm.py b/contrib/automation/hgautomation/winrm.py --- a/contrib/automation/hgautomation/winrm.py +++ b/contrib/automation/hgautomation/winrm.py @@ -37,7 +37,7 @@ def wait_for_winrm(host, username, passw try: client = Client(host, username=username, password=password, ssl=ssl, connection_timeout=5) - client.execute_cmd('echo "hello world"') + client.execute_ps("Write-Host 'Hello, World!'") return client except requests.exceptions.ConnectionError: if time.time() >= end_time: