Show More
@@ -464,6 +464,14 b' class chgcmdserver(commandserver.server)' | |||||
464 | 'setenv': setenv, |
|
464 | 'setenv': setenv, | |
465 | 'setumask': setumask}) |
|
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 | def _tempaddress(address): |
|
475 | def _tempaddress(address): | |
468 | return '%s.%d.tmp' % (address, os.getpid()) |
|
476 | return '%s.%d.tmp' % (address, os.getpid()) | |
469 |
|
477 |
General Comments 0
You need to be logged in to leave comments.
Login now