version 1.36, 2007/11/09 18:54:46
|
version 1.38, 2008/08/19 09:46:36
|
Line 270 sub make_new_child {
|
Line 270 sub make_new_child {
|
|
|
$command->log_stdout(0); |
$command->log_stdout(0); |
#$command->log_file("$execdir/logs/lonmaxima.session.log"); |
#$command->log_file("$execdir/logs/lonmaxima.session.log"); |
&sync($command); |
|
|
|
for (my $i=0; $i < $MAX_CLIENTS_PER_CHILD; $i++) { |
for (my $i=0; $i < $MAX_CLIENTS_PER_CHILD; $i++) { |
&status('Accepting connections'); |
&status('Accepting connections'); |
my $client = $server->accept() or last; |
my $client = $server->accept() or last; |
print $command ("display2d:false;kill(all);\n"); |
&sync($command); |
|
print $command ("display2d:false;kill(all);reset();\n"); |
&getmaximaoutput($command,2); |
&getmaximaoutput($command,2); |
&sync($command); |
&sync($command); |
my $syntaxerr = 0; |
my $syntaxerr = 0; |