90164c34a9
- Update the Agent to use separate control and data pipes and to receive arbitrary-sized packets. Handle child process creation in the agent. - Fix bugs in libpconsole: - Insert a space between the pipe names on the agent command line. - Don't close the desktop and window station until after connecting to the agent's pipes. - Change the format of the pconsole_start_process env parameter from an array of wide-character-string pointers to a single contiguous block of memory, like that accepted by CreateProcess.
11 lines
232 B
C++
11 lines
232 B
C++
#include "Agent.h"
|
|
#include <QCoreApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QCoreApplication a(argc, argv);
|
|
Q_ASSERT(argc == 5);
|
|
Agent agent(argv[1], argv[2], atoi(argv[3]), atoi(argv[4]));
|
|
return a.exec();
|
|
}
|