copy cygwin.dll

This commit is contained in:
Hollos Roland 2021-03-19 14:41:28 +01:00
parent 809b26a9c5
commit b43f5542bd

View File

@ -9,6 +9,8 @@ copyToThreadDirs2 <- function(iniSource, thread_prefix = "thread", numCores, exe
directory=file.path("tmp", paste0(thread_prefix,"_1"),tools::file_path_sans_ext(basename(x)),""), d =TRUE)
file.copy(executable,
file.path("tmp", paste0(thread_prefix,"_1"),tools::file_path_sans_ext(basename(x))))
tryCatch(file.copy(file.path(execPath,"cygwin.dll"),
file.path("tmp", paste0(thread_prefix,"_1"),tools::file_path_sans_ext(basename(x)))),function(e){"If you are in Windows..."})
})
sapply(2:numCores,function(thread){