in reply to trouble with system calls

Since you don't show code, I get a free guess. You call system with a single string and the shell is mangling the arguments. Definitely that.

After Compline,
Zaxo