Passing variable from c program to shell script as argument
I am calling a shell script from a 'c' program and have some variables in
c which I would like to pass as arguments to the shell script. I tried
using the system() to call the shell script but the variable I pass as
argument is considered as a string rather than a variable. Can I have a
sample code which does what I want.Thanks in advance.
No comments:
Post a Comment