]> git.eshelyaron.com Git - emacs.git/commitdiff
(sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID.
authorGeoff Voelker <voelker@cs.washington.edu>
Sat, 30 May 1998 23:41:48 +0000 (23:41 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Sat, 30 May 1998 23:41:48 +0000 (23:41 +0000)
src/w32proc.c

index ccb47ccc89501f0e35467003c88176ac679d44d0..b579c946bb6a6c963e9ace32d430c87ddc52a175 100644 (file)
@@ -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++;