APPX Software Library

Environment Variables and the Command Line

What does -session flag do when added to a command line?

The -session flag suppresses terminal interaction as a side-effect. It's real purpose is to start a background job. When you submit a job to background, Appx re-invokes itself with "-session=<filename>", where <filename> is the name of a session file.