1. system() and system_exec() failing on CGI for certain commands

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!

new topic     » topic index » view message » categorize

2. Re: system() and system_exec() failing on CGI for certain commands

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu