mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
runnerw: update usage docs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user