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 -->
  #2 (permalink)  
Old 12-07-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
There is a problem with the way that you have called the exec syscall. Syntax is incorrect. For the correct syntax, check the man page.
Anyways, is the args variable always gonna be null? If so, call the exec as:
Code:
execl("/home2/xyz/app1.exe","app1.exe",0);