Show More
@@ -216,7 +216,8 b' class gnuarch_source(common.converter_so' | |||||
216 | cmdline = [self.execmd, cmd] |
|
216 | cmdline = [self.execmd, cmd] | |
217 | cmdline += args |
|
217 | cmdline += args | |
218 | cmdline = [procutil.shellquote(arg) for arg in cmdline] |
|
218 | cmdline = [procutil.shellquote(arg) for arg in cmdline] | |
219 | cmdline += [b'>', os.devnull, b'2>', os.devnull] |
|
219 | bdevnull = pycompat.bytestr(os.devnull) | |
|
220 | cmdline += [b'>', bdevnull, b'2>', bdevnull] | |||
220 | cmdline = procutil.quotecommand(b' '.join(cmdline)) |
|
221 | cmdline = procutil.quotecommand(b' '.join(cmdline)) | |
221 | self.ui.debug(cmdline, b'\n') |
|
222 | self.ui.debug(cmdline, b'\n') | |
222 | return os.system(pycompat.rapply(procutil.tonativestr, cmdline)) |
|
223 | return os.system(pycompat.rapply(procutil.tonativestr, cmdline)) |
General Comments 0
You need to be logged in to leave comments.
Login now