I have been working on a program that mimics a shell terminal, and I\'ve come across an implementation issue that is harder than I anticipated. Basically, I\'m trying to spl
Just passing the whole string to the shell might suit your needs:
eg:
System("./foo some arguments");
This isn't the best solution though.
The better way seems to be write a parser to find each argument and pass it to a exec style function.