I'm trying to use the exec function that loads another script with a .cgi extension (manager.cgi), which is in the same directory. This is what I have so far:
In the above code, it results with the dienice subroutein returning the error message, as appropriate. I'm new to the exec function, and I cannot get it to work.
What am I doing wrong?