[omniORB] CORBA program blocked in execl()
Feng Qian
fengqian@jfsys.com
Thu, 14 Dec 2000 09:14:50 +0800
Hi, everybody,
I'am currently using omniORB 2.80 on Redhat Linux 6.2, with kernel 2.2.14
smp kernel, and the following code just blocked in the child process when I
call execl, can anybody help!
int main (int argc, char **argv)
{
CORBA::ORB_ptr orb = CORBA::ORB_init(argc, argv, "omniORB2");
long pid;
pid = fork();
if(pid == 0)
execl("/bin/ls","ls",NULL);
else{
printf("Child pid:%d\n",pid);
}
}
Thanks a lot!
Qian Feng