View Full Version : When I send a command in QT
espariz
20th June 2006, 21:10
I need an instrucion to send a "ls -l > fich" command! I try with Qprocess instruction but does not function...
jacek
20th June 2006, 21:15
QProcess doesn't understand ">", you must use shell for this:process.start( "/bin/sh", QStringList() << "-c" << "ls -l > fich" );
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.