Revision 7dc92081 image_creator/os_type/windows.py
b/image_creator/os_type/windows.py | ||
---|---|---|
689 | 689 |
addr = 'localhost' |
690 | 690 |
runas = '--runas=%s' % user |
691 | 691 |
winexe = subprocess.Popen( |
692 |
['winexe', '-U', user, runas, "//%s" % addr, command],
|
|
693 |
stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
|
692 |
['winexe', '-U', user, runas, "--uninstall", "//%s" % addr,
|
|
693 |
command], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
694 | 694 |
|
695 | 695 |
stdout, stderr = winexe.communicate() |
696 | 696 |
rc = winexe.poll() |
Also available in: Unified diff