How can I pause a C# console application only while being run by a user?
I've searched similar issues on stack overflow which recommend learning to debug properly, using readline, etc, but none of them cover the instance where your process might be being run by an automated system that needs to continue straight past (i.e. not pause, to let user read screen).
How can I determine whether the console is being run interactively or by a script?
If this were bash on a linux system, I could do something like
https://www.gnu.org/software/bash/manual/html_node/Is-this-Shell-Interactive_003f.html