Hi Yutong,
by foreground I mean, that when I log in to the node per e.g. remote desktop connection where the job is being executed, that I see the command window and be able to use that command window, just as if i would start the command window manually.
I eighter exit the cmd.exe by terminating the cmd.exe task or, better, just cancel the job.
I tried "START /WAIT cmd.exe /k" but the command window did not pop up.
In the end what I want is a way to start a console on a node that I can use to execute commands.
BR,
Roland