Commit a5b56dcd authored by Geoff Voelker's avatar Geoff Voelker

(sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID.

parent 69062c2f
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment