Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
The C# OCR Library 2020.11
SentiVeillance SDK Trial 7.3.2020.11.30
VaxVoIP WebPhone SDK 4.0.6.0
SentiMask SDK Trial 2.0_193121
C# QR Code Generator 2020.12
How to Read Text from an Image in C# 2020.12
The .Net PDF Library 2020.12.3
fsMediaLibrary.NET 2019.11.0
Entity Developer 6.9.1112
OrgChart JS 7.5.40
LinqConnect 4.9.2096
SSIS Data Flow Components 1.15
IP2Location Geolocation Database Oct.2020
Luxand FaceSDK 7.2
dbForge Data Compare for PostgreSQL 3.3.6
Top Code
IcrediBB Bulletin Board System 1.0
Azizi search engine script PHP 4.1.10
MLM Unilevel Plan Script 1.0.4
Theater Management System Script 1.0.4
Simplified Fuzzy ARTMAP Neural Network 1.0
Ping Pong Game Code Script 1.1
MLM Unilevel Plan Software 1.0.2
VideoWhisper 2 Way Video Chat 1.55
Sportsbook software by BOOKIE Software 3.01
Form Designer 3.5
MsgConnect 1.4
Netflix Clone 3.0
Shroom Music Player 0.0.12
Travel Booking script 1.0.4
File Cutter 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Pro MLM 1
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
Module to allow Asynchronous subprocess use on Windows and Posix platforms 
File ID: 65964






Module to allow Asynchronous subprocess use on Windows and Posix platforms 
Download Module to allow Asynchronous subprocess use on Windows and Posix platforms http://code.activestate.com/recipes/457407-emacs-like-hotkey-support-for-wxpython/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 1
Submit Rating:
Module to allow Asynchronous subprocess use on Windows and Posix platforms  Description
Description: The 'subprocess' module in Python 2.4 has made creating and accessing subprocess streams in Python relatively convenient for all supported platforms, but what if you want to interact with the started subprocess? That is, what if you want to send a command, read the response, and send a new command based on that response?

Now there is a solution. The included subprocess.Popen subclass adds three new commonly used methods: recv(maxsize=None), recv_err(maxsize=None), and send(input), along with a utility method: send_recv(input='', maxsize=None).

recv() and recv_err() both read at most maxsize bytes from the started subprocess.
send() sends strings to the started subprocess.
send_recv() will send the provided input, and read up to maxsize bytes from both stdout and stderr.

If any of the pipes are closed, the attributes for those pipes will be set to None, and the methods will return None.

v. 1.3 fixed a few bugs relating to *nix support
v. 1.4,5 fixed initialization on all platforms, a few bugs relating to Windows support, added two utility functions, and added an example of how to use this module.
v. 1.6 fixed linux _recv() and test initialization thanks to Yuri Takhteyev at Stanford.
v. 1.7 removed _setup() and __init__() and fixed subprocess unittests thanks to Antonio Valentino. Added 4th argument 'tr' to recv_some(), which is, approximately, the number of times it will attempt to recieve data. Added 5th argument 'stderr' to recv_some(), where when true, will recieve from stderr. Cleaned up some pipe closing.
v. 1.8 Fixed missing self. parameter in non-windows _recv method thanks to comment.
v. 1.9 Fixed fcntl calls for closed handles.

License: Freeware

Related: sysadmin

O/S:Windows

Downloads: 1



More Similar Code

The onBeforeUnload module provides an API to allow other modules use the onBeforeUnload event of the browser window.

This module does not provide any direct functionally, it rather provides a centralized API that other modules can use to take advantage of the onBeforeUnload event of the browser window.

Modules using the onBeforeUnload API: Dirty Forms, Modal Frame API.

Web standards?

There is no...



This is a small add-on module that works with the simplenews module (as well as the core contact module) to allow you to add checkboxes for newsletter subscriptions to the contact form within Drupal.

Functionality Detail:



This module builds on the Content Permissions module to allow you to create premium fields: fields that only certain users can have on their nodes.

Example

Users with the 'premium' role may have images in their blog posts....



Learn how to use PHP on windows and IIS to create a basic discussion forum that makes use of a powerful database.



This module extends notify module to allow content to be selected per user based on Views.

The UID of the user being mailed can be passed as an argument to views, allowing a unique set of nodes to be selected for each recipient. This...



This module plugs into the Geocode module to allow you to use Bing maps to geocode your information. When used in conjunction with Geo Field you can geocode your CCK fields.

Developed by Benedict Steele from Home Made Digital as part of...



Win32::GUI::Skin is a module to allow you to create skin applications on Win32 using Perl and the Win32::GUI module.



SlAuth is a module to allow authentication using SecondLife / OpenSim credentials ( login / pass ).

The user needs first to register to the Drupal site using the normal way and should use the login name with firstname and lastname...



This module extends the FileField module to allow you to provide a simple text string as a code users must enter before they can download the files attached to a specific file field. There is a new widget type called "Private Download"...



Beanstalkd is a Drupal module to allow Drupal Queues to take advantage of beanstalkd to process the queues instead of the built in Database queue system that ships with Drupal.

User Review for Module to allow Asynchronous subprocess use on Windows and Posix platforms
- required fields
     

Please enter text on the image