stop/start causes hang in Perl script
Jeffrey M.Vinocur
jeff at litech.org
Fri Oct 15 21:25:51 UTC 2004
On Oct 15, 2004, at 11:35 AM, Felix E. Klee wrote:
> The following piece of code sometimes hangs (forever?):
>
> #!/usr/bin/perl
> print "1\n";
> $out = `/usr/lib/news/bin/rc.news stop 2>&1`;
> print "2 $out\n";
> $out = `/usr/lib/news/bin/rc.news start 2>&1`;
> print "3 $out\n";
Well, how far does it get before it hangs? When it hangs, is the
server still running?
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list