setting batch variables using python -


python seems process attempt :

subprocess.call(['set' , 'logfile=cat'], shell=true) 

it returns no errors. when try using logfile variable or %logfile%, doesn't seem have set logfile anything. how 1 make batch variables within python script?

what attempting is: have batch script sequentially runs several python scripts. wanted set variable within 1 of python scripts persist throughout batch script.

your variable set, call returns, instance of shell ends , variable goes away.

what trying accomplish exactly? sounds xy problem.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -