Re: system() and system_exec() failing on CGI for certain commands
- Posted by Chris Bensler <bensler at nt.net> Dec 10, 2006
- 567 views
Louis Bryant wrote: > > > Hi. I have a program that converts mp3 audio to wave files. I am trying to > invoke > it from a CGI program. The file is on my PATH variable, and the program is > called > abcaudio.exe. When I do system_exec("abcaudio input_file.mp3 output_file.wav", > 2), nothing happens, but system_exec returns -1. When I enter the same > commands > when not in a CGI script everything works well. What's happening and how can > I fix this? Thanks to all of you who have and are helping us out here! I > greatly > appreciate it! I think the PATH may be different in your CGI environment than it is in your normal windows environment. Can you verify the PATH is correct in the CGI? Chris Bensler ~ The difference between ordinary and extraordinary is that little extra ~ http://empire.iwireweb.com - Empire for Euphoria