Scripting Question

python is waiting in the background even after process completed

05/12/2017 874 views

os.system(cmd) is waiting in the backround even after the cmd completed.

In python

Any idea how to fix this???

call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat" && devenv /Build "Release|win32" "w:\erwin\ERwin Model.sln" >> C:\BuildServer\Logs\MCL_win32_Release_Full__RMCL_Full_win32_Release_Model_05111839.log"

The above is the cmd I am executing... It is running sometimes and sometimes it is stuck in the background even after this completed.

0 Comments   [ + ] Show comments


All Answers

It is probably waiting for a response in a window you cannot see. What happens when you create a BAT file and run it manually?
Answered 05/16/2017 by: HISDTechGuy
Senior Yellow Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ