I am trying to start cmd window and then running a chain of cmds in succession one after the other in that cmd window.
something like start cmd /k pipenv shell && py manage.py runserver the start cmd should open a new cmd window, which actually happens, then the pipenv shell should start a virtual environment within that cmd instance, also happens, and the py manage.py runserver should run in the created environment but instead it runs where the script is called.
Any ideas on how I can make this work?
start cmd /k pipenv shell && py manage.py runserverstart cmd /k pipenv shell ^&^& py manage.py runserver, but it's easier to use a batch file&&, it should becmd /k pipenv shell ^&^& py manage.py runserverstart cmd /k pipenv shell ^&^& py manage.py runserver