<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2722.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I have a problem with KProcess.<BR>Here this that I would want to 
make:<BR>I have a directory containing a MySQL database who serves me of 
pattern (/usr/mysql/modele).<BR>I create a new database who is going to 
serve me for my software (for example /usr/mysql/THOMAS).<BR>I must copy 
the whole some tables of the database "modele" toward the database 
"THOMAS"<BR>I use the for it orders: cp  /usr/mysql/modele/*  
/usr/mysql/THOMAS</DIV>
<DIV> </DIV>
<DIV>After numerous tests with KProcess I don't have any result. Here the used 
code.<BR> Someone would can he say me this who doesn't go.</DIV>
<DIV> </DIV>
<DIV>Thank you.</DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<P>source = "/var/mysql/modele/*";</P>
<P>destination = "/var/mysql/" + base + QString("/");</P>
<P>KShellProcess proc;</P>
<P>proc.clearArguments();</P>
<P>proc << "cp " + (QString) "'" + source + (QString) "' '" + destination 
+ (QString) "'";</P>
<P>proc.start(KProcess::Block,KProcess::AllOutput); 
*/</P></FONT></DIV></BODY></HTML>