Here is a batch script:
Z:
cd Z:different_directory
pipenv shell
cd ..another_directory
:End
cmd /k
What happens here is that the pipenv shell gets launched, but the virtual environment does not cd. Instead, once I exit the pipenv, it then runs the cd command.
Is it possible to run a command from inside the pipenv using this batch script?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…