blob: ab193e41cefe1ce2d19982df13c0f83b8a2b73b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#$Id$
# -*- perl -*-
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
unshift @INC, '../../../../bin';
require Process;
$server_port = 0;
$iorfile = "theior";
$sleeptime = 5;
$SV = Process::Create ("server".$Process::EXE_EXT,
" -ORBport $server_port -o $iorfile ");
sleep $sleeptime;
$status = system ("client".$Process::EXE_EXT.
" -f $iorfile -x");
$SV->Kill (); $SV->Wait ();
unlink $iorfile;
exit $status;
|