Hi,
I am working in a Linux box, Using Qt 3.3.4, I dont know how to run shell scripts from the code. Is there any command to execute the shell commands ?
Plz let me know, If you know.
Thanks in advance.
-Deep
Hi,
I am working in a Linux box, Using Qt 3.3.4, I dont know how to run shell scripts from the code. Is there any command to execute the shell commands ?
Plz let me know, If you know.
Thanks in advance.
-Deep
use system() command
or maiby QProcess
a life without programming is like an empty bottle
npc (22nd May 2006)
Thank you sumsin and zlatko,
Hi sumsin, could you tell me what is the header file for system () command.
Its working for me now , thank you.
The header file for system () command is stdlib.h
Just remember that system() blocks your entire application (or at least the thread where it was invoked) until the external process is finished.
Bookmarks