Here's my code:
$r->content_type('application/pdf') unless $ARGS{debug} > 0;
my $command = "/usr/local/bin/prince";
my ($in_fh, $out_fh, $err_fh) = $r->spawn_proc_prog($command, [' - ']);
print $in_fh $m->scomp('/tidy.html');
my @outputs =$out_fh->getlines();
my $error = <$err_fh>;
I never get anything though. When I try on the command line it works...
Ryan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users