# Possible to return shell with UAT?

**URL:** <https://forums.unrealengine.com/t/possible-to-return-shell-with-uat/403774>\
**Category:** Platform & Builds\
**Tags:** batch, command, uat, command-line, unreal-engine, question\
**Created:** [September 5, 2017, 9:22am UTC](https://forums.unrealengine.com/t/possible-to-return-shell-with-uat/403774 "2017-09-05T09:22:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MagicBots](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MagicBots](https://forums.unrealengine.com/u/MagicBots)\
**Post date:** [September 5, 2017, 9:22am UTC](https://forums.unrealengine.com/t/possible-to-return-shell-with-uat/403774/1 "2017-09-05T09:22:53Z")

</div>

I’m running UAT in a batch script.

Specifically this command:  
cd “C:\Program Files\Epic Games\UE\_4.17\Engine\Build\BatchFiles”  
RunUAT BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=“C:/Users/Admin/Documents/Unreal Projects/Pod/Pod.uproject” -cook -stage -archive -archivedirectory=C:/Users/Admin/Documents/Unreal\_Builds -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output

and it runs fine, but i want to run some commands after it and it doesn’t seem  
to return the shell so that the next commands in the batch script can run.

Is there a way to force it to return the shell? A flag or something?

Thanks for any input.

---

<div class="post-metadata">

**Author:** ![MagicBots](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MagicBots](https://forums.unrealengine.com/u/MagicBots)\
**Post date:** [December 7, 2017, 8:07am UTC](https://forums.unrealengine.com/t/possible-to-return-shell-with-uat/403774/2 "2017-12-07T08:07:18Z")

</div>

Not sure if it’s the best solution but this works:  
-put your RunUAT command in a seperate batch file.  
-use call to call it from a master batch file.  
e.g.:  
call BUILD.bat

…the shell returns and you can put your command to deploy and launch it after in the master bat. file.
