[EMAIL PROTECTED] wrote: > Hi! I've written a perl cgi script to create a web page. Now what I'd > like to do is to execute an Octave script from the Perl one and get > its output inside my perl script. I'm working on a Windows XP machine. > I tried $result = `C:/Program\ Files/GNU\ Octave\ 2.1.50/bin -q > my_script.m`; but $result is still null.
Is "bin" really the name of the execuatble, or is it a directory name? Something seems to be missing. Also, those backslashes aren't doing anything for you, AFAIK. You might want to write that as: `"C:/Program Files/GNU/Octave 2.1.50/bin/????" -q my_script.m` ^^^^ program name here -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>