Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminating Programs

Status
Not open for further replies.

hopya

Programmer
Oct 27, 2001
2
US
Hello,

I hope someone can help me. I have a perl script that runs a c program. My problem is that the C program doesn't terminate when I close the broser. The C program only terminates when it times out. Can someone tell me how to terminate the C program when I close the browser and not by waiting for the time out. Thanks a lot in advanced for the help.
 
I've had similar things with Perl actually. I'm not entirely sure about this, but I think that the browser is basically your standard output, and just closing the browser isn't going to stop a program running. Hence, I had a massive Perl script that executed right the way through despite the fact that I closed the browser down straight away.

I am guessing that you need Java to do something like this, which I believe keeps track of the actual port where you're plugged into on the server, but It'd be nice to hear this confirmed by someone else..


Matt.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top