Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium Target-2.8.2 bwic

New issue 1541 by pekka.klarck: Process: `Terminate Process` should automatically kill process that does not terminate
http://code.google.com/p/robotframework/issues/detail?id=1541

Currently `Terminate Process` by default tries to terminate the process gracefully, but can be configured to forcefully kill it. The latter option is needed with badly behaving process that cannot be terminated gracefully. The problem with this approach is that there is no guarantee is the process actually stopped when `kill` option is not used.

To make sure that the process ends, we decided to enhance this keyword so that it automatically kills processes that are not terminated. To give the process time for clean-up activities, we decided to wait maximum 5 seconds for it to end. It is obviously still possible to use `kill` to forcefully kill the process right away.

This change is backwards incompatible in cases where someone wanted to just send terminate signal to the process and didn't actually want it to stop. It's unlikely this is common, and the new `Send Signal To Process` keyword (issue 1515) makes it possible to explicitly send the signal.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to