diff --git a/native/runner/runnerw/runnerw.cpp b/native/runner/runnerw/runnerw.cpp index e1960e81b33d..2f7abfecd979 100644 --- a/native/runner/runnerw/runnerw.cpp +++ b/native/runner/runnerw/runnerw.cpp @@ -6,14 +6,13 @@ void PrintUsage() { printf("Usage: runnerw.exe \n"); - printf("where is console application and it's arguments.\n"); + printf("where is an executable file and 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); }