Do you want to execute a shell script or shell command in ac program?
The Following is a simple c -program with the execution of a script:
| #include <stdio.h>
int main (void)
system ( "/boot/home/Desktop/script.sh" ) ;
The system () command runs a program or script from the system. "Here" you need to add the string to run your shell tool or script.
Made available by BeSly , the Haiku knowledge base.