Starts a new program, replacing the current one |
Declaration: |
native function exec(string filename, array argv, array env) |
Description: |
This function attempts to execute the specified filename. The system path is not searched for the file. By convention, the first string in the argv array is the name of the program without the path to it. To use the current environment instead of creating a new one, you can use Sys.env.toArray() to retrieve it. |
Parameters: |
Parameter #1: string filename - The name of the file to execute |