Hello,
I want to use Salome 9.12.0 in batch mode. I launch a code from matlab, accessing the powershell.exe. the code is:
command1=‘powershell.exe -Command “cd ‘C:\Users\User\OneDrive - Politecnico di Torino (1)\Optimisation\SEMISUBfolder' "’
and
command2='powershell.exe -Command " C:\SALOME-9.12.0\run_salome.bat “SEMISUB.py” | Out-Null”’
The problem is that Salome doesn’t recognise my folder correctly, and from the GUI it appears this error:
exec(open(“(1)\Optimisation\SEMISUBfolder\SEMISUB.py”, “rb”).read(), args=())
Traceback (most recent call last):
File “”, line 1, in
FileNotFoundError: [Errno 2] No such file or directory: ‘(1)\Optimisation\SEMISUBfolder\SEMISUB.py’
Do you know how can I continue to use my folder in onedrive without moving to a folder without spaces?
Thank you