Updates:
Status: Accepted
Labels: Target-2.8.2
Comment #1 on issue 1515 by pekka.klarck: [Library] Process library add
keyword to send signal to current active process
http://code.google.com/p/robotframework/issues/detail?id=1515
This ought to be easy using Popen.send_signal. It would have all the
limitations listed in the subprocess docs [1], such as being available from
Python 2.6 onward and not supporting that many signals on Windows, though.
Things to note:
- We probably want to enables specifying the signals so that using
e.g. 'SIGINT' text is fine. We can get the real signal using `import
signal; getattr(signal, signame)`.
- To support CTRL_C/BREAK_EVENT (Windows only) we needed to set some
creation flags. I'm not sure can that be done automatically or should it be
configurable. We may also decided not to support these signals, but then
that needs to be documented.
[1]
http://docs.python.org/2/library/subprocess.html#subprocess.Popen.send_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.