I have the 2 following commands:
process.start("rm -f ./temp/frame0001.jpg");
and
process.start("rm -f ./temp/frame*.jpg");
The first worked fine but the second did not work. (Now I'm using QT4 in Linux FC4)
Please give me advices.
I have the 2 following commands:
process.start("rm -f ./temp/frame0001.jpg");
and
process.start("rm -f ./temp/frame*.jpg");
The first worked fine but the second did not work. (Now I'm using QT4 in Linux FC4)
Please give me advices.
*, |, >, <, & and similar characters are interpreted by the shell. If there is no shell, they won't work.
Try:Qt Code:
process.start("sh -c \"rm -f ./temp/frame*.jpg\"");To copy to clipboard, switch view to plain text mode
Bookmarks