#include int main (int argc, char *argv[]) { execl("/path/to/yourscript.pl", "yourscript.pl", NULL); } #### cc -o wrapper wrapper.c