mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
16 lines
347 B
C++
16 lines
347 B
C++
|
#include <config.h>
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "support/lyxlib.h"
|
||
|
#include "LString.h"
|
||
|
#include "support/syscall.h"
|
||
|
#include "support/filetools.h"
|
||
|
|
||
|
bool lyx::copy(char const * from, char const * to)
|
||
|
{
|
||
|
string command = "cp " + QuoteName(from) + " " + QuoteName(to);
|
||
|
return Systemcalls().startscript(Systemcalls::System,
|
||
|
command) == 0;
|
||
|
}
|