Message9137
Jython 2.7b3 (default:e81256215fb0, Aug 4 2014, 02:39:51)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_60
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess, signal
>>> subprocess.Popen('sleep 10', shell=True).send_signal(signal.SIGTERM)
>>> subprocess.Popen('sleep 10', shell=True).send_signal(signal.SIGINT)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/peke/Prog/jython2.7b3/Lib/subprocess.py", line 1399, in send_signal
elif sig == signal.CTRL_C_EVENT:
AttributeError: 'module' object has no attribute 'CTRL_C_EVENT' |
|
Date |
User |
Action |
Args |
2014-10-13 21:46:28 | pekka.klarck | set | recipients:
+ pekka.klarck |
2014-10-13 21:46:28 | pekka.klarck | set | messageid: <1413236788.94.0.815242562538.issue2219@psf.upfronthosting.co.za> |
2014-10-13 21:46:28 | pekka.klarck | link | issue2219 messages |
2014-10-13 21:46:28 | pekka.klarck | create | |
|