Skip to content
Snippets Groups Projects
Commit 7dc92081 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Use --uninstall in winexe

parent 684a5524
No related branches found
No related tags found
No related merge requests found
......@@ -689,8 +689,8 @@ class Windows(OSBase):
addr = 'localhost'
runas = '--runas=%s' % user
winexe = subprocess.Popen(
['winexe', '-U', user, runas, "//%s" % addr, command],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
['winexe', '-U', user, runas, "--uninstall", "//%s" % addr,
command], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = winexe.communicate()
rc = winexe.poll()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment