Task: program "A" should call another program "B", creating a separate process.
What library, header file contains the necessary functions to make a call to a third-party program? - first question.
In addition, the program "A" must also be passed to program "B" arguments (lines), so that they are used by program "B". How to carry out, firstly, in fact, the transfer of this information, secondly, the input of this string information in the program "B"? - second question.
Note: the source code of program "B" is unknown, its extension is .exe.
c++ system, read, and then carefully readman 3 system. (I understand that the author has Windows, but it’s better to start with POSIX). - avp pm