Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6395 > unrolled thread

Auto restart my application.

Started byGeorge Tritsos <GeorgeTritsos@yahoo.gr>
First post2013-12-16 04:31 -0800
Last post2013-12-22 05:28 -0800
Articles 5 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Auto restart my application. George Tritsos <GeorgeTritsos@yahoo.gr> - 2013-12-16 04:31 -0800
    Re: Auto restart my application. dlzc <dlzc1@cox.net> - 2013-12-16 06:56 -0800
    Re: Auto restart my application. Martin <spam@spam.spam> - 2013-12-18 13:45 +0000
    Re: Auto restart my application. "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-12-19 17:24 +0100
      Re: Auto restart my application. George Tritsos <GeorgeTritsos@yahoo.gr> - 2013-12-22 05:28 -0800

#6395 — Auto restart my application.

FromGeorge Tritsos <GeorgeTritsos@yahoo.gr>
Date2013-12-16 04:31 -0800
SubjectAuto restart my application.
Message-ID<5d711f1d-1e3d-4353-a89c-23ba9c831c26@googlegroups.com>
Hi all,

  I would like to know which is the best way to restart my application in run time if a condition occurs.

Thanks in advance
George

[toc] | [next] | [standalone]


#6408

Fromdlzc <dlzc1@cox.net>
Date2013-12-16 06:56 -0800
Message-ID<dcbade1d-0323-4d04-8b04-75f614ac5e24@googlegroups.com>
In reply to#6395
Dear George Tritsos:

On Monday, December 16, 2013 5:31:30 AM UTC-7, George Tritsos wrote:
...
>   I would like to know which is the best way to
> restart my application in run time if a condition
> occurs.

This is a Really Bad Idea.  If your code has a problem, it will have a problem on every successive invocation.  So you end up locking up your customer's computer.

You'd have to have the OS load your program as a service, one that it will reload.  Because if you ab-end, you have no program control.

David A. Smith

[toc] | [prev] | [next] | [standalone]


#6420

FromMartin <spam@spam.spam>
Date2013-12-18 13:45 +0000
Message-ID<iFhsu.318$dP7.157@fx25.fr7>
In reply to#6395
if you go down this route you HAVE to make sure there is no GUI 
interaction in the way, if there is an error it has to drop out with no 
press this ect.

Any locks have to be handled with no questions.

You can show what is happening but it needs to be able to close from an 
error condition without questions.

On 16/12/2013 12:31, George Tritsos wrote:
> Hi all,
>
>    I would like to know which is the best way to restart my application in run time if a condition occurs.
>
> Thanks in advance
> George
>

[toc] | [prev] | [next] | [standalone]


#6432

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2013-12-19 17:24 +0100
Message-ID<l8v6k5$hk$1@dont-email.me>
In reply to#6395
You need an external program that controls the behaviour - a watch dog. If 
the external program also starts the program then it is also possible to 
"kill" the process of the old program in case of any unresolved hanging 
events. I have done something similar for avoiding sporadic runtime errors 
with Crystal Reports.

What is really needed is that errors tha may repeat do not finish in an 
endlos loop.

Arne Ortlinghaus
ACS Data Systems

"George Tritsos" <GeorgeTritsos@yahoo.gr> schrieb im Newsbeitrag 
news:5d711f1d-1e3d-4353-a89c-23ba9c831c26@googlegroups.com...
> Hi all,
>
>  I would like to know which is the best way to restart my application in 
> run time if a condition occurs.
>
> Thanks in advance
> George 

[toc] | [prev] | [next] | [standalone]


#6443

FromGeorge Tritsos <GeorgeTritsos@yahoo.gr>
Date2013-12-22 05:28 -0800
Message-ID<b790935a-034e-4bd4-821d-22924497632c@googlegroups.com>
In reply to#6432
Thanks all for your help

Mary Christmans and happy new year.

George

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web