How to make child and parent processes manipulate the same global variable?

前端 未结 0 1639
广开言路
广开言路 2021-01-19 13:13

I have a boolean variable "ab" that is set to false, but I want to change it to true in the function that the child process executes. I tried using pipes but I did

相关标签:
回答
  • 消灭零回复
提交回复
热议问题