cubewise-code / rushti

Smooth parallelization of TI Processes with TM1py
https://code.cubewise.com/tm1py-help-content/run-processes-in-parallel-using-only-connection
MIT License
9 stars 13 forks source link

Windows network path like (\\host\prd\OPFP-PRD\TM1Applications\OPFP-PRD\Data\) cannot be passed as the parameter to TI through RushTi script #33

Closed 4rtem closed 3 years ago

4rtem commented 3 years ago

The problem is related to shlex.split(line) which is decomposing backslash "\" symbol as ESC sequence. I was able to resolve this only by replacing "\" by "/". As our script is generated via TI I needed to write a code replacing backslashes in TI code.

MariusWirtz commented 3 years ago

Hi @4rtem,

if you just escape every \ with an additional \ before you pass it to rushti, does it work? is that an acceptable solution?

4rtem commented 3 years ago

@MariusWirtz , I have tested, all works good in the updated script with backslashes