aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bzr.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/bzr.py')
-rw-r--r--libbe/bzr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bzr.py b/libbe/bzr.py
index bc4d98d..80b9e9b 100644
--- a/libbe/bzr.py
+++ b/libbe/bzr.py
@@ -14,12 +14,12 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from subprocess import Popen
+from subprocess import Popen, PIPE
import os
import config
def invoke(args):
- q=Popen(args)
+ q = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE)
output = q.stdout.read()
error = q.stderr.read()
status = q.wait()