Executing another application with parameters
Posted on 2007-08-10
I am having difficulty executing another executable within my app. i am useing system() to invoke the other application. Currently i have something like this:
char seg = "./restoreit ";
char s = "10 20 30 50";
the issue i have is it try to execute restoreit but with out the parameters that i appended to it. if i print out the array i see the parameters this way. i have also tried inserting " with in string and that does not work either. Thanks in advance.