Show More
@@ -339,7 +339,7 b' class commandline(object):' | |||
|
339 | 339 | pass |
|
340 | 340 | cmdline = [util.shellquote(arg) for arg in cmdline] |
|
341 | 341 | if not self.ui.debugflag: |
|
342 | cmdline += ['2>', os.devnull] | |
|
342 | cmdline += ['2>', pycompat.bytestr(os.devnull)] | |
|
343 | 343 | cmdline = ' '.join(cmdline) |
|
344 | 344 | return cmdline |
|
345 | 345 |
@@ -316,7 +316,7 b" def popen(command, mode='r'):" | |||
|
316 | 316 | # Work around "popen spawned process may not write to stdout |
|
317 | 317 | # under windows" |
|
318 | 318 | # http://bugs.python.org/issue1366 |
|
319 | command += " 2> %s" % os.devnull | |
|
319 | command += " 2> %s" % pycompat.bytestr(os.devnull) | |
|
320 | 320 | return os.popen(quotecommand(command), mode) |
|
321 | 321 | |
|
322 | 322 | def explainexit(code): |
General Comments 0
You need to be logged in to leave comments.
Login now