Read about using QProcess.
Read about using QProcess.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Every system call launches a new shubshell and runs the provided command in that shell. If you want to use system() in this way, you'll have to combine your shell commands into one, something like:
Qt Code:
string cmd = "gnuplot; set term jpeg; ... ;exit"; system(cmd);To copy to clipboard, switch view to plain text mode
Bookmarks