system() function call...

Hi,

Though I should check this myself.. but I don't have a cc compiler at this time.. :frowning:

When I compile a c program containing say system(myshell.sh).. do the executable require that the actual script myshell.sh to be present whenever it executes? I guess it needs..

otherwise I can just compile all my shell scripts into executable binaries!!

Yes the command that you use in a system() call must acually be present.