Revision: bc4c4ddc049f
Branch:   default
Author:   Pekka Klärck
Date:     Mon Jun 16 11:52:25 2014 UTC
Log: Process.Send Signal: Note that shell propagating signals depens on system, made test non-critical on OSX
http://code.google.com/p/robotframework/source/detail?r=bc4c4ddc049f

Modified:
 /atest/testdata/standard_libraries/process/sending_signal.txt
 /src/robot/libraries/Process.py

=======================================
--- /atest/testdata/standard_libraries/process/sending_signal.txt Tue Jun 10 13:30:44 2014 UTC +++ /atest/testdata/standard_libraries/process/sending_signal.txt Mon Jun 16 11:52:25 2014 UTC
@@ -23,6 +23,7 @@
     \    Killer signal    ${signal}

 By default signal is not sent to process running in shell
+    Check Precondition    sys.platform != "darwin"
     Start Countdown    shell=yes
     Send Signal To Process    TERM
     Countdown should not have stopped
=======================================
--- /src/robot/libraries/Process.py     Tue Jun 10 08:45:07 2014 UTC
+++ /src/robot/libraries/Process.py     Mon Jun 16 11:52:25 2014 UTC
@@ -578,9 +578,10 @@

By default sends the signal only to the parent process, not to possible child processes started by it. Notice that when `running processes in
-        shell`, the shell is the parent process and thus the actual started
- process does not receive the signal. To send the signal to the whole
-        process group, `group` argument can be set to any true value:
+ shell`, the shell is the parent process and it depends on the system
+        does the shell propagate the signal to the actual started process.
+        To send the signal to the whole process group, `group` argument can
+        be set to any true value:

         | Send Signal To Process | TERM  | group=yes |

--

--- 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/d/optout.

Reply via email to