in reply to Stop,Suspend,Resume By Pid

Signals would be a good way to approach this on a *nix OS, but Windows does not really do that. Can the target script listen on a socket or look for some pid.flag file(s) and then suspend/resume or exit itself? Can you give us some idea of what the target process is doing?

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

Replies are listed 'Best First'.
Re^2: Stop,Suspend,Resume By Pid
by Anonymous Monk on Apr 23, 2013 at 11:04 UTC

    The target process reading outlook files(.pst) files from the windows system.As this takes quite a lot of time and sys resources so a mechanism to pause it is needed(when load on machine is high) and then resume when some of its resources are free.

      How about setting the process to a low priority so the OS scheduler can do it for you?

      Cheers,
      R.

      Pereant, qui ante nos nostra dixerunt!