Don Morrison wrote: > I'm trying to write a shell script that will spin off a number of sipp > invocations in the foreground using "xterm -e ./sipp ......". This works > great for running any xml file that does not include running pcapplay. A > series of xterm windows pops up and I can watch the progress of each sipp > invocation. But as soon as I run a script that includes pcapplay, the > script ends and that window closes as soon as the first pcapplay execution > ends. > > I found that if I add code to sipp.cpp to ignore SIGHUP (signal > (SIGHUP,SIG_IGN), this problem goes away, but I have to issue a "kill" > command to really get rid of the process and free up the ports. Evidently > the SIGHUP is being raised when the send_wrapper function in call.cpp ends > the media thread. I suspect there must be something different about how > signals are handled when the terminal window is opened with "xterm -e > ./sipp" vs just running sipp in an xterm window, but I'm not sure what that > is. Any ideas? Is there a better way to do this? Thanks > > Don Morrison > > >
Don, I don't know. But any insights you may have will help. -- Olivier HP OpenCall Software http://www.hp.com/go/opencall/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
