##// END OF EJS Templates
chgserver: add the setprocname interface...
Jun Wu -
r30750:378686af default
parent child Browse files
Show More
@@ -464,6 +464,14 b' class chgcmdserver(commandserver.server)'
464 464 'setenv': setenv,
465 465 'setumask': setumask})
466 466
467 if util.safehasattr(osutil, 'setprocname'):
468 def setprocname(self):
469 """Change process title"""
470 name = self._readstr()
471 _log('setprocname: %r\n' % name)
472 osutil.setprocname(name)
473 capabilities['setprocname'] = setprocname
474
467 475 def _tempaddress(address):
468 476 return '%s.%d.tmp' % (address, os.getpid())
469 477
General Comments 0
You need to be logged in to leave comments. Login now