runnerw: update usage docs

This commit is contained in:
Sergey Simonchik
2017-01-19 17:51:38 +03:00
parent 7c63d91d3b
commit 68671d9e07
+6 -7
View File
@@ -6,14 +6,13 @@
void PrintUsage() {
printf("Usage: runnerw.exe <app> <args>\n");
printf("where <app> is console application and <args> it's arguments.\n");
printf("where <app> is an executable file and <args> are its arguments.\n");
printf("\n");
printf(
"Runner invokes console application as a process with inherited input and output streams.\n");
printf(
"Input stream is scanned for presence of 2 char 255(IAC) and 243(BRK) sequence and generates Ctrl-Break event in that case.\n");
printf(
"Also in case of all type of event(Ctrl-C, Close, Shutdown etc) Ctrl-Break event is generated.\n");
printf("Creates a child process with inherited input, output and error streams.\n");
printf("The input stream is processed using these rules:\n");
printf(" 5 and 3 char sequence => a CTRL+BREAK signal is sent to the child process;\n");
printf(" 5 and 5 char sequence => a CTRL+C signal is sent to the child process.\n");
printf("Also in case of system shutdown a CTRL+BREAK signal is sent to the child process.\n");
exit(0);
}