Package gmisclib :: Module g_pipe
[frames] | no frames]

Module g_pipe

source code

A multithreaded version of os.popen2(). Note that the argument list isn't quite the same.

Classes
  pfd
Pseudo-file descriptor.
Functions
 
popen2(path, args, bufsize=0)
Forks off a process, and returns the processes input and output file descriptors.
source code
 
test() source code
Variables
  __package__ = 'gmisclib'

Imports: S


Function Details

popen2(path, args, bufsize=0)

source code 

Forks off a process, and returns the processes input and output file descriptors. The latter is really a pfd (defined above).

Path and args are passed directly into os.execvp().