:feelsgood:
This commit is contained in:
Родитель
3fee51da26
Коммит
93d8fc0c3f
|
@ -1,3 +1,4 @@
|
|||
import glob
|
||||
import os
|
||||
import subprocess
|
||||
# from getpass import getpass
|
||||
|
@ -31,7 +32,8 @@ class EnvException(Exception):
|
|||
|
||||
def create_env():
|
||||
print(os.getcwd())
|
||||
make_process = subprocess.Popen("make create-env", stderr=subprocess.STDOUT)
|
||||
print(glob.glob("*"))
|
||||
make_process = subprocess.Popen("pwd && make create-env", stderr=subprocess.STDOUT)
|
||||
if make_process.wait() != 0:
|
||||
raise EnvException('Environment creation failed!! WHY oh WHY')
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче