I managed to solve the problem. Thanks a lot to everyone, starting from
part of any of your help I've been able to find the solution. My .m files
where just associated to Octave, the problem was due to taint constraint
I do always use for Perl scripts.
I had to add
$ENV{'PATH'}='C:/Program Files/
Well, it returns null because when you try to escape in that string, that's
perls escape that your using, not XP's excape.
A way around this might be (i dunno, never tried this before):
system("cd C:/Program Files/GNU/Octave/2.1.50/");
$result= `bin -q my_script.m`;
If that doesn't work then setu
>> I tried $result = `C:/Program\ Files/GNU\ Octave\ 2.1.50/bin -q
>> my_script.m`; but $result is still null.
sorry, in copy and paste I forgot a part of the instruction. The instruction
I'm using is:
my $output = `"C:/Program\ Files/GNU\ Octave\ 2.1.50/bin/octave.exe -q
my_script.m"`;
The erro
[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
[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/
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