in reply to The System function and its usage

You're passing "-ExcelFile $excel_file" as a single argument to the execvp() call (if that's even applicable under win32). You can either pass a single string to system() or you must pass each argument as a single string... my @args = ($ccupdate_db, "-ExcelFile", $excel_file, "-q")

Additionally, check the server error logfile. It's likely your command line app spewed forth errors into that file when it failed to work as expected.

-Paul

Replies are listed 'Best First'.
Re: The System function and its usage
by Structed (Novice) on Sep 28, 2007 at 15:34 UTC
    You are my personal superheroes! In the log I found a permission denied statement... which belonged to the other program I wanted to call. This program wanted to write a log into a write-protected dir... Thank you so much!
      Also note that the shell environment (i.e., envars) under which you make your system call will be very different between interactive command line and CGI.