This is a beginner level question for anyone pro in subprocess.
In Windows, is it possible for me to send the following CMD commands using subprocesssuch that they are executed one after another in a single shell:
- cd C:\Users\User\myvirtualenvs\project1
- Scripts\activate.bat
- Hello.py
Effectively, I am trying to load the Virtualenv without having to manually myself touch CMD prompt.
Thanks in advance :)
cmdexpert) that you separate the commands with&&.