CodePudding user response:
Call some baidu "c # process called"As to return the result, according to the situation that is close to see, say first you wood source code and the console is
1. The other output, output shift and the error to
2. The other generated file, waitforexit,, wait for each other has been completed you restart file reading and writing (if your file regularly, can enable file to monitor get)
3. Also can combine the above two, call the command USES the output redirection output value to the file, and then reading file
If you know the other code (or each other are willing to together with you)
The baidu "inter-process communication"
"Inter-process communication", of course, you will baidu to a lot of things, in order to avoid the XX garden level of those dull post disturbance, I suggest you direct search "c # GRPC" or "c # netmq ipc"