It works apparently fine. This is what I do:
Originally Posted by SymbianTH
*) From sender side: S60 GUI application.
_LIT(KMyExeFileCmd,"first second third");
User::WaitForRequest(status); // wait until the engine process finishes process.Close();
You can debug this on emulator and it will give you desired results.
*) On receiving OpenC side:
int main(int argc, char* argv)
printf("No. of arg = %d\n",argc);
printf("First is = %s\n", argv);
printf("Second is = %s\n", argv);
printf("Hello Open C!\n");
printf("Press a character to exit!");
int c = getchar();
PS: Just to show, I used RProcess code from Wiki so it might not be an optimized one. You can do that later if it works for you now.