Thread
:
how do I call a bash script in C?
View Single Post
Apr 30th, 2006, 9:36 PM
#
9
jim mcnamara
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power:
4
man popen
man system
man exec
All of these man pages explain one way to do what you ask. Use popen if you want to get output - like stderr.
jim mcnamara
View Public Profile
Find More Posts by jim mcnamara