how to set environment variable for parent process from child process?

后端 未结 1 1918
挽巷
挽巷 2021-01-26 17:06

how to set environment variable for parent process from child process?

For example: I have PARENT and CHILD processes. CHILD process inherited from PARENT process envir

1条回答
  •  孤独总比滥情好
    2021-01-26 17:39

    You can't, unless the processes explicitly communicate (IPC, sockets etc.) and one explicitly tells the other to modify its own environment.

    0 讨论(0)
提交回复
热议问题