Hello

I want to run a shell Script from xcode Main function
i used this code
int main(int argc, char **argv)
{
system("test.sh");
}
and test.sh file is include in my resource file.
cd /var
echo hello
above is the shell script file.
One more Question Where Echo is print

Thanks