OS (e.g. Windows 10 or macOS Sierra)
Windows 10
Versions of xlwings, Excel and Python (e.g. 0.11.8, Office 365, Python 3.7)
Latest xlwings v15.5
Describe your issue (incl. Traceback!)

Include a minimal code sample to reproduce the issue (and attach a sample workbook if required!)
# Your code here
On vba after generating the dist executable with pyinstaller I've got this:
Sub run_frozen()
this_path = ThisWorkbook.Path
'this_path = "D:\Desktop\project test\" - note the space on project test folder
RunFrozenPython (this_path + "\dist\" + "pyfile.exe")
End Sub
on python I've got a simple file that writes to a cell on excel
import xlwings as xw
wb = xw.Book.caller()
wb.sheets("Sheet1").range("A1") = "ok
the problem arises when on the path I've one space, let's call it:
this_path_fails = "D:\Desktop\project test\"
this doesn't happen when we put an underscore in the path or remove the space.
this_path_works = "D:\Desktop\project_test\"
OS (e.g. Windows 10 or macOS Sierra)
Windows 10
Versions of xlwings, Excel and Python (e.g. 0.11.8, Office 365, Python 3.7)
Latest xlwings v15.5
Describe your issue (incl. Traceback!)
# Your traceback hereInclude a minimal code sample to reproduce the issue (and attach a sample workbook if required!)