problem with execvp
i am having an application that contains a push button.
On the click of this push button i want to call a executable file using execvp
function block fo2 push button
{
char *args[1];
args[0]=NULL;
execvp("/home2/xyz/app1.exe",args)
}
but after compilation when i press this button the app1.exe is not being executed
help will be highly appreciated
|