Asking a C program to call a bash script
Hmm....I have never done this before.
Can I code a C program to run a script when certain condition occurs? If yes, can someone kindly post an example. Many thanks in advance. |
Doesn't "system" do that?
Code:
#include <stdlib.h> |
That should be
Code:
int returnvalue = system ("ls"); ;) |
Ah, thanks Harishankar :)
|
thanks :D
|
All times are GMT -5. The time now is 02:39 PM. |