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 | |
by perlfan (Parson) on Sep 28, 2007 at 15:41 UTC |