The Shell method is asynchronous, so the code will carry on running to completion while the AutoCAD program is loading.