On Tue, Aug 25, 2015 at 09:06:56AM +0000, Aditya Bhimanavajjula wrote:
> We cannot use StringIO, as it does not provide fileno(). (fileno is used by
> subprocess.Popen)

We don't need a file number. The command always run, except maybe for testing,
is utils.RunCmd (note that _runcmd_fn is an internal interface). The 
documentation
string of utils.RunCmd states

  @type input_fd: C{file}-like object or numeric file descriptor

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to