--- loncom/lonr 2009/04/18 16:03:14 1.4 +++ loncom/lonr 2009/06/23 03:01:09 1.6 @@ -3,7 +3,7 @@ # The LearningOnline Network with CAPA # Connect to R CAS # -# $Id: lonr,v 1.4 2009/04/18 16:03:14 www Exp $ +# $Id: lonr,v 1.6 2009/06/23 03:01:09 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -269,15 +269,15 @@ sub make_new_child { }; $command->log_stdout(0); - $command->log_file("$execdir/logs/lonr.session.log"); +# $command->log_file("$execdir/logs/lonr.session.log"); for (my $i=0; $i < $MAX_CLIENTS_PER_CHILD; $i++) { &status('Accepting connections'); my $client = $server->accept() or last; &sync($command); -# print $command ("display2d:false;simp:true;kill(all);\n"); -# &getroutput($command,2); -# &sync($command); + print $command ("library(phpSerialize);\n"); + &getroutput($command); + &sync($command); my $syntaxerr = 0; while (my $cmd=<$client>) { &status('Processing command');