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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -