in reply to Re: Start a service, wait 10 seconds, and stop the service.
in thread Start a service, wait 10 seconds, and stop the service.

Indeed, thanks for clarifying that. Does no process id mean I can't stop the process without dying, as I would guess is the case?
  • Comment on Re^2: Start a service, wait 10 seconds, and stop the service.

Replies are listed 'Best First'.
Re^3: Start a service, wait 10 seconds, and stop the service.
by ikegami (Patriarch) on Jun 17, 2005 at 17:41 UTC
    It means you can't stop the process (with or without dying). To kill a process, you need to kill it, and kill requires the PID of the process to kill. See my other reply for working (tested) solution to your problem.