Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: [Wireshark-users] Kill a process started via Popen command

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Nicole Powell <mznikkip@xxxxxxxxxxx>
Date: Mon, 9 Nov 2009 09:25:20 -0500


I am trying to kill a process that was started via the Popen command:

s = sub.Popen( ['tshark -r ' + orig_file_name + ' -o column.format:"Info","%i"'], shell=True, stdout=sub.PIPE, stderr=sub.PIPE )

This process runs over a period of time. Is there a simple way to kill it? I tried using the "kill()" function but that requires knowledge of the pid of the process; Popen returns a file pointer but not the pid of the process that was started.



From the desk of Nicole  A. Powell.....
 



  • Prev by Date: Re: [Wireshark-users] Kerberos decryption still works?
  • Next by Date: [Wireshark-users] Unknown OUI's...
  • Previous by thread: Re: [Wireshark-users] Kerberos decryption still works?
  • Next by thread: [Wireshark-users] Unknown OUI's...
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation