mercurial/debugcommands.py
changeset 39826 c31ce080eb75
parent 39818 24e493ec2229
child 39884 9c8eff5cfa1b
equal deleted inserted replaced
39825:874712506b07 39826:c31ce080eb75
  3072         # shared state from interfering with server operation.
  3072         # shared state from interfering with server operation.
  3073         args = procutil.hgcmd() + [
  3073         args = procutil.hgcmd() + [
  3074             '-R', repo.root,
  3074             '-R', repo.root,
  3075             'debugserve', '--sshstdio',
  3075             'debugserve', '--sshstdio',
  3076         ]
  3076         ]
  3077         proc = subprocess.Popen(args, stdin=subprocess.PIPE,
  3077         proc = subprocess.Popen(pycompat.rapply(procutil.tonativestr, args),
       
  3078                                 stdin=subprocess.PIPE,
  3078                                 stdout=subprocess.PIPE, stderr=subprocess.PIPE,
  3079                                 stdout=subprocess.PIPE, stderr=subprocess.PIPE,
  3079                                 bufsize=0)
  3080                                 bufsize=0)
  3080 
  3081 
  3081         stdin = proc.stdin
  3082         stdin = proc.stdin
  3082         stdout = proc.stdout
  3083         stdout = proc.stdout