maslofer has asked for the wisdom of the Perl Monks concerning the following question:
2.print `/opt/csw/bin/octave -qfH < $filename`;
open (OCTAVE, "| /opt/csw/bin/octave -qfH < $filename") or die "Can't +open pipe: $!\n"; while(<OCTAVE>){ print $_; } close(OCTAVE) or die "Couldn't close octave: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running Command Line Programs from a CGI Script
by Solo (Deacon) on Jun 10, 2005 at 19:25 UTC | |
|
Re: Running Command Line Programs from a CGI Script
by cool_jr256 (Acolyte) on Jun 10, 2005 at 19:08 UTC | |
|
Re: Running Command Line Programs from a CGI Script
by etm117 (Pilgrim) on Jun 10, 2005 at 18:44 UTC | |
by Anonymous Monk on Jun 10, 2005 at 18:47 UTC | |
by cbrandtbuffalo (Deacon) on Jun 10, 2005 at 19:17 UTC | |
|
Re: Running Command Line Programs from a CGI Script
by mda2 (Hermit) on Jun 13, 2005 at 02:00 UTC |