ssh -f 应������ fork ��实��background执��
fork之�蟾附�探��� ��慕疟��母����也�痛� waitpid ������
�� �� ylan (yeoyeoman) �拇������到: ��
: if (my $pid = fork) {
: waitpid($pid, 0);
: print "end exec\n";
: #print wait();
: }
: else {
: defined($pid) or die "fork: $!";
: print "start exec\n";
: exec "ssh -f $opt_s ping -c 10 $opt_d > pingout";
: }
: ���������������为什么ping��没�薪��� ����叹�直������执�����兀�
: ������ping ��� ��执�泻���牟����� 应������写�兀�
: 谢谢����
--
"undefined" ---- The behavior for something incorrect, on which the
standard does not impose any requirements. Anything is allowed to
happen, from nothing, to a warning message to program termination,
to CPU meltdown, to launching nuclear missiles (assuming you have
the correct hardware option installed)
---<Expert C Programming>
[m[1;37m�� ��源:��水木���� newsmth.net��[FROM: 193.11.244.*][m