Use text=True instead of decode() in prepare.py
This commit is contained in:
parent
23e1c6128b
commit
efa287b786
|
@ -419,7 +419,7 @@ win:
|
||||||
""", 'ThirdParty')
|
""", 'ThirdParty')
|
||||||
|
|
||||||
stage('python', """
|
stage('python', """
|
||||||
version: """ + (subprocess.run(['python', '-V'], capture_output=True, env=modifiedEnv).stdout.decode().strip().split()[-1] if win else '0') + """
|
version: """ + (subprocess.run(['python', '-V'], capture_output=True, text=True, env=modifiedEnv).stdout.strip().split()[-1] if win else '0') + """
|
||||||
win:
|
win:
|
||||||
python -m venv python
|
python -m venv python
|
||||||
python\\Scripts\\activate.bat
|
python\\Scripts\\activate.bat
|
||||||
|
|
Loading…
Reference in New Issue