Jan-20-2022, 10:45 AM
Hi
I am trying to call an application from a python script in an Azure Devops pipeline
I build a string to the app path
Have tried
How can I achieve this?
Thanks
I am trying to call an application from a python script in an Azure Devops pipeline
I build a string to the app path
cmd = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"The problem is that I need to escape \ with \\ in order to get it run
Have tried
cmd = cmd.replace("\","\\")but this gives an error SyntaxError: unexpected character after line continuation character
How can I achieve this?
Thanks