Commit a5b56dcd authored by Geoff Voelker's avatar Geoff Voelker
Browse files

(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) ...@@ -938,7 +938,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp)
numenv++; numenv++;
} }
/* extra env vars... */ /* extra env vars... */
sprintf (ppid_env_var_buffer, "__PARENT_PROCESS_ID=%d", sprintf (ppid_env_var_buffer, "EM_PARENT_PROCESS_ID=%d",
GetCurrentProcessId ()); GetCurrentProcessId ());
arglen += strlen (ppid_env_var_buffer) + 1; arglen += strlen (ppid_env_var_buffer) + 1;
numenv++; 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