How to pass some parameters to shell script, invoked in CLI through application system(...)? I want to do some logging of incoming CID-s to file. Is there some other method to do this?