Message9137

Author pekka.klarck
Recipients pekka.klarck
Date 2014-10-13.21:46:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413236788.94.0.815242562538.issue2219@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2014-10-13 21:46:28pekka.klarcksetrecipients: + pekka.klarck
2014-10-13 21:46:28pekka.klarcksetmessageid: <1413236788.94.0.815242562538.issue2219@psf.upfronthosting.co.za>
2014-10-13 21:46:28pekka.klarcklinkissue2219 messages
2014-10-13 21:46:28pekka.klarckcreate