Re: session command
No. The session command is rather intended for interactive usage, not for automation.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.