rstudio/cloudml

job_collect on windows

Opened this issue · 0 comments

the download functionality on windows fails when some directories have blanks included ("Cloud SDK", see below)

the following command

cmd /c C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil.cmd -m cp -r gs://project/r-cloudml/runs/project_Number/* C:/Users/User/RProjectFolder/runs/project_Number

would fail with

C:\Users\User\AppData\Local\Google\Cloud' is not recognized as an internal or external command, operable program or batch file

it is a windows issue here. It does not like  the directory "Cloud SDK"...  

for cmd  /c you need double quotation...  like

cmd /c ""C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil.cmd" -m cp -r "gs://project/r-cloudml/runs/project_Number/*" "C:/Users/User/RProjectFolder/runs/project_Number"

did not find the part which need to be changed. when you tell me I can try and commit the solution