Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > want process to kill itself then restart

Reply
Thread Tools

want process to kill itself then restart

 
 
Brian
Guest
Posts: n/a
 
      05-23-2004
I have a perl/tk app that I want to supply a button that will kill the
current process and then restart the application. I was thinking that
I could just fork off a child process at start time and then wait for
the child to finish and then fork off another child. The quesion is
how to go about doing this?

Thanks,
brian
 
Reply With Quote
 
 
 
 
Mothra
Guest
Posts: n/a
 
      05-25-2004
Brian wrote:

> I have a perl/tk app that I want to supply a button that will kill the
> current process and then restart the application. I was thinking that
> I could just fork off a child process at start time and then wait for
> the child to finish and then fork off another child. The quesion is
> how to go about doing this?
>

Why not just send SIGHUP to the process?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restart Now - Restart Later another MickG Computer Support 14 04-24-2006 02:55 AM
Help. SessionID is x then y then x then y BodiKlamph@gmail.com ASP General 0 09-03-2005 03:02 PM
XP restart vs msconfig restart Opsimath Computer Support 4 07-31-2005 02:58 PM
how I restart a process from itself? Paolo Veronelli Python 1 10-21-2004 03:35 PM
Want to kill current process then restart Brian Perl Misc 1 05-24-2004 05:16 AM



Advertisments