The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-07-2005
kunu kunu is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 2
Smile 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