From: Geoff Voelker Date: Sat, 30 May 1998 23:41:48 +0000 (+0000) Subject: (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. X-Git-Tag: emacs-20.3~779 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5b56dcda17f619180f2d05c8b3e3062bb329a69;p=emacs.git (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. --- diff --git a/src/w32proc.c b/src/w32proc.c index ccb47ccc895..b579c946bb6 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -938,7 +938,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) numenv++; } /* extra env vars... */ - sprintf (ppid_env_var_buffer, "__PARENT_PROCESS_ID=%d", + sprintf (ppid_env_var_buffer, "EM_PARENT_PROCESS_ID=%d", GetCurrentProcessId ()); arglen += strlen (ppid_env_var_buffer) + 1; numenv++;