- spawn/overlayconstant
- spawn/waitconstant
- spawn/nowaitconstant
- spawn/nowaitoconstant
- spawn/detachconstant
These variables contains special flags that specify the exact semantics of process-spawn:
- spawn/overlay replaces the current process with the new one.
- spawn/wait suspends execution of the current process until the spawned process returns.
- spawn/nowait does the opposite (spawn/nowaito is identical, according to the Microsoft documentation) and runs the process asynchronously.
- spawn/detach runs the new process in the background, without being attached to a console.