mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
Fix python build
This commit is contained in:
parent
f6184620f1
commit
69841981f1
@ -1650,6 +1650,11 @@ trexio_cp(const char* source, const char* dest)
|
||||
|
||||
/* Call cp */
|
||||
|
||||
#ifndef CP_COMMAND
|
||||
#define CP_COMMAND "cp", "-r"
|
||||
#endif
|
||||
|
||||
|
||||
pid_t pid = fork();
|
||||
if (pid == 0) {
|
||||
execlp("cp", CP_COMMAND, source, dest, (char *)0);
|
||||
|
Loading…
Reference in New Issue
Block a user