>You don't mention your OS/Platform.
I think I'll go out on a limb and say that it's a POSIX compliant platform.
>just wondered if theres a way I can run a bash script from a C program
Yes, there is. Generally, if you ask a question along the lines of "Can C do <so and so>", the answer is almost definitely "Yes!".