Now that those great compiler directives have been incorporated into the official AutoHotkey release, maybe the following caveat found in the FileAppend documentation
"However, text sent to stdout will not appear at the command prompt it was launched from"
should be amended with something like "..., unless the script is compiled with the ;@Ahk2Exe-ConsoleApp directive." ? There may be other such areas in the documentation.
JB
Output to STDOUT/STDERR Topic is solved
Re: Output to STDOUT/STDERR Topic is solved
Thanks for reporting. The change is included in PR #464. If you find any other places in the docs regarding this, let us know.
Re: Output to STDOUT/STDERR
Since you ask, the same clarification should be added to the #ErrorStdOut doc page which states:
"Because AutoHotkey is not a console program, errors will not appear at the command prompt directly."
There's a also the doc page for Loop (read file contents) which states
"Standard Output (stdout): [...] Although such output can be redirected to a file, piped to another EXE, or captured by fancy text editors, it will not appear at the command prompt it was launched from."
In both cases, the same " ..., unless" addition to the sentence should suffice.
"Because AutoHotkey is not a console program, errors will not appear at the command prompt directly."
There's a also the doc page for Loop (read file contents) which states
"Standard Output (stdout): [...] Although such output can be redirected to a file, piped to another EXE, or captured by fancy text editors, it will not appear at the command prompt it was launched from."
In both cases, the same " ..., unless" addition to the sentence should suffice.
Re: Output to STDOUT/STDERR
Thanks for reporting. The changes are included in PR #466.