win32pipe.popen

pipe = popen(cmdstring, mode )

Popen that works from a GUI.

Parameters

cmdstring : string

The cmdstring to pass to the shell

mode : string

Either 'r' or 'w'

Return Value

The result of this function is a pipe (file) connected to the processes stdin or stdout, depending on the requested mode.