branch | stable |
changeset 42661 | e91930d712e8 |
parent 42279 | f30184484dd1 |
child 43076 | 2372284d9457 |
--- a/contrib/automation/hgautomation/winrm.py Sun Jul 28 18:16:08 2019 -0700 +++ b/contrib/automation/hgautomation/winrm.py Sun Jul 28 18:32:31 2019 -0700 @@ -37,7 +37,7 @@ 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: