From: Dave H. <dhy...@gm...> - 2007-07-30 16:57:50
|
Hi Lin, > wo! the first way is wonderful. > I had even googled this result just before, but didn't realize this > "system(cmd)"way is what I want. Also, any environment variable that you set in your C program using setenv will be available in your script. I think that using the command line documents things a bit better. I recommend that you use snprintf instead of sprintf (personally I think sprintf should be banned). -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |