mirror of
https://github.com/clearml/wexpect-venv
synced 2025-04-26 17:19:04 +00:00
[FIX] removing debug print from wexpect; [UDT] cmd example, double backslash needed.
This commit is contained in:
parent
be5fa58a0e
commit
2a38f946ce
@ -12,7 +12,7 @@ sys.path.insert(0, wexpectPath)
|
||||
import wexpect
|
||||
|
||||
# Path of cmd executable:
|
||||
cmdPathes = ['C:\Windows\System32\cmd.exe', 'cmd.exe', 'cmd']
|
||||
cmdPathes = [r'C:\\Windows\\System32\\cmd.exe', 'cmd.exe', 'cmd']
|
||||
cmdPrompt = '>'
|
||||
|
||||
for cmdPath in cmdPathes:
|
||||
|
@ -1702,7 +1702,6 @@ class spawn_windows (spawn_unix, object):
|
||||
if args == []:
|
||||
self.args = split_command_line(command)
|
||||
self.command = self.args[0]
|
||||
print('command@@ {} args {}'.format(command, args))
|
||||
else:
|
||||
self.args = args[:] # work with a copy
|
||||
self.args.insert (0, command)
|
||||
|
Loading…
Reference in New Issue
Block a user