Use a dual pipeline to communicate to two processes, no need to re-open process high efficiency "use a process to communicate over and over two pipelines four handles, two member variables two local variables" modify the code for single pipe 1 "
Paste into the constructor:
Modify the name of the variable after pasting into the constructor:
The changes are as follows:
The code selected above is the paste to be used when executing the command to the following "
The string szcmd refers to a global variable because the following is also used:
To close a local variable:
The member variables of the class are to be closed in the destructor: '
First comment out the code that is not written:
Uncomment the Read output pipeline
Modify the code: ",
Modify sleep time: Otherwise there will be a situation that cannot be read
From for notes (Wiz)
Cheetah Mfc--th_ Double Pipe--operation on the pipe just like the operation of the file