I want to create a c program that executes commands in a txt file. I read each value of my txt file and put them in an array and then I want to run them one by one using a fork function.
Thank you for your help

I hope a charitable help to tell me where the problem is.
I enclose a part of my code and my data file.

```
void Execfile(char*filename)
{
    char**T;
    int nb;
    FILE*f;
    char buff[MAX_ARG];
    f=fopen("data1.txt","rb");
     while(fgets(buff,MAX_ARG,f)!=NULL){
        T=File2TabArgv(filename,&nb);
    }
    fclose(f);
    execvp(T[0],T);
    printf("\n");
    printf("END");
}

in txt.file``` 
sleep20

```