diff --git a/src/unix/proctitle.c b/src/unix/proctitle.c index 9ffe5b62..9e39545e 100644 --- a/src/unix/proctitle.c +++ b/src/unix/proctitle.c @@ -119,6 +119,7 @@ int uv_set_process_title(const char* title) { memcpy(pt->str, title, len); memset(pt->str + len, '\0', pt->cap - len); pt->len = len; + uv__set_process_title(pt->str); uv_mutex_unlock(&process_title_mutex);