Spawning a TTY shell

Hi there,

I would like to understand the purpose of spawning a TTY shell?
Does it mean that it will help to open up a new Windows on the current interactive shell such that when the session gets lost the other won't
Any explanation will be helpful.

The context is important to be able to answer your question, can you give us the case, or where you see/want the spawning?

I have done it in the past to avoid consuming a user license.

Is this question referring to this thread?
https://www.unix.com/programming/275267-help-needed-spawn-shell-python-continue-execution.html\#post303007145
If so then...
'xterm' is NOT a shell it is a terminal window; sh, dash, bash, ksh and others are the shell.
If you call 'xterm' on its own it will use the OSes default shell to give you command line usage.
A reason to use 'xterm' is to open a window for monitoring something else running whilst you are watching the program that spawns the second terminal window.

I spawn 'xterm' in AudioScope.sh on here to generate a test signal whilst watching that signal being displayed on its own display window. The spawned window gives easy keyboard access to stop said signal and close down this window without interfering with the main 'Scope window.

Hope this helps...

Bazza...