Hi,
I know this is a stupid question, but is there any special trick to running a C program on a Unix machine, after I've made (make)d it already? I've not touched this code for several months, and now I need to run it from a shell script, and for the life of me, I can't figure out if there was anything else I need to include with the call to the C program. I have:
In a shell script called "RunProgram " that I activate with:
./RunProgram.sh
But, this errors out.
Thanks,
Sitko.
I know this is a stupid question, but is there any special trick to running a C program on a Unix machine, after I've made (make)d it already? I've not touched this code for several months, and now I need to run it from a shell script, and for the life of me, I can't figure out if there was anything else I need to include with the call to the C program. I have:
Code:
#! /bin/sh C_Program input.txt echo done
./RunProgram.sh
But, this errors out.
Thanks,
Sitko.
Comment