python - command prompt getting closed on its own using os.system -


i using os.system(cmd) launch command prompt , run command in it. now, command command run py.test code. command prompt getting closed on own after py.test gets executed. found adding && pause @ end of cmd helps retain command prompt till press button. working fine if test cases pass in py.test. so, how retain command prompt whatever happens cmd.

this basic idea of project: have many py.test modules. want run of these 1 command wherein specify module want run. purpose opening different command prompt , running module there.


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -