SyntaxFix
Write A Post
Hire A Developer
Questions
You can use system:
system
system("/usr/local/bin/foo.sh");
This will block while executing it using sh -c, then return the status code.
sh -c