Passing a list to run() raises AttributeError

Issue #3 resolved
Luca Beltrame created an issue

run()'s docstring states that the first argument is the same as the Popen constructor: that would mean that a list or a string would work. However, when using a list with sarge:

     In [10]: sarge.run( ["ls", "/mnt/"] )
     AttributeError: 'list' object has no attribute 'read'

This happens with sarge 0.1.

Comments (1)

  1. Log in to comment