communication problem



I have a problem executing a shell script programmatically.
I wrote two bash scripts in order to start certain processes and to
stop them.
There is a supervisor process that calls these two scripts
programmatically.
These processes communicate with the supervisor via keep-alive signals.
If I stop these processes and then I restart them via console manually
all is ok an the processes continue to communicate normally with the
supervisor.
If the supervisor stops an restarts the processes exactly as I said
before (via system() call) the processes don't communicate anymore
with the supervisor.

I don't know where I fault.

Can anyone help me?

.



Relevant Pages

  • Re: communication problem
    ... I wrote two bash scripts in order to start certain processes and to ... These processes communicate with the supervisor via keep-alive signals. ... If I stop these processes and then I restart them via console manually ...
    (comp.os.linux.development.apps)
  • Re: Log Off being force after X hours
    ... were forcing this by using logofdel.exe, which I killed after I logged ... My scripts sometimes take days to run and they cannot be interrupted by ... supervisor, whichever one is easier to get to listen. ...
    (microsoft.public.windowsxp.general)