hgext/fix.py
changeset 43193 2d1f9880af1b
parent 43117 8ff1ecfadcd1
child 43217 5cb3e6f4e069
equal deleted inserted replaced
43192:ce20b870041f 43193:2d1f9880af1b
   629                 continue
   629                 continue
   630             ui.debug(b'subprocess: %s\n' % (command,))
   630             ui.debug(b'subprocess: %s\n' % (command,))
   631             proc = subprocess.Popen(
   631             proc = subprocess.Popen(
   632                 procutil.tonativestr(command),
   632                 procutil.tonativestr(command),
   633                 shell=True,
   633                 shell=True,
   634                 cwd=repo.root,
   634                 cwd=procutil.tonativestr(repo.root),
   635                 stdin=subprocess.PIPE,
   635                 stdin=subprocess.PIPE,
   636                 stdout=subprocess.PIPE,
   636                 stdout=subprocess.PIPE,
   637                 stderr=subprocess.PIPE,
   637                 stderr=subprocess.PIPE,
   638             )
   638             )
   639             stdout, stderr = proc.communicate(newdata)
   639             stdout, stderr = proc.communicate(newdata)