Running a program inside my QT application does not produce needed output files???
I'm writing an application in QT. I need to run a another program named visual inside my code.
 I first used the C function system(). It ran the program but it did not write the output files that i need.
 I change the access mode of the visual file to read+write+execute, still the system call to visual did not output any files.
 I'm always on the root when i ran my program, so Im sure that i have write privileges; still didn't work
 I used the QT class QProcess and it run the visual program but there were no output files produced.
 I tried placing the visual executable file in /usr/local/bin and /usr/bin directory so that i can call it glabally; still didn't work
I previously wrote a program that runs on the console, and it ran the visual program and it produced the files that i need...I just used the system() function to call visual in that program.
Is there any difference between running another program in a console application and in a QT application?
|All times are GMT -5. The time now is 10:19 PM.|