From a5b56dcda17f619180f2d05c8b3e3062bb329a69 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Sat, 30 May 1998 23:41:48 +0000 Subject: [PATCH] (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. --- src/w32proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.39.2