[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] Re: <DAEMON>_ child-process TTL in execCommandAndGetChildOu
From: |
Gian Paolo Ghilardi |
Subject: |
[gomd-devel] Re: <DAEMON>_ child-process TTL in execCommandAndGetChildOutput() function |
Date: |
Sun, 4 Jan 2004 13:23:40 +0100 |
----- Original Message -----
From: "Matthias Rechenburg" <address@hidden>
To: "Gian Paolo Ghilardi" <address@hidden>; "gomd developers mailing list"
<address@hidden>
Sent: Sunday, January 04, 2004 2:26 PM
Subject: Re: <DAEMON>_ child-process TTL in execCommandAndGetChildOutput()
function
> Ciao JP,
>
> On Samstag 03 Januar 2004 23:20, Gian Paolo Ghilardi wrote:
> > Hi all.
> >
> > First of all: HAPPY NEW YEAR!!! :)))
>
> for you too !
>
> >
> > I've added a TTL for (invoked) commands that take a long time to
complete
> > (option => "exec [cmd/cwc] COMMAND LIST_OF_PARAMS"].
> > Now if the invoked command takes a time >=PROCESS_TIME_TO_LIVE seconds
> > (default=30), its process will be automagically killed (obviously its
> > output, collected 'till that moment, will be returned to the client).
>
> mhmmm, can i set the timeout to infinite ? ;)
I'll add a macro || a special value in constants.h for this purpose
>
> >
> > As you can see, the output of the (local or remote) command is
"delayed",
> > returned _after_ its process ends (so the command finished or it was
killed
> > because it takes too secs to complete).
> >
> > Does anybody prefer _real-time_ output for invoked commands?
>
> .. how much effort this will be ?
> at least i would prefer real-time output which might be usefull for e.g.
> debugging processes started by the gomd exec.
> (just my mind ;)
Uhm... No idea. However I'll try... ;)
Byez.
<rejected>