# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: GPG.py,v 1.4 2007/01/10 20:18:52 mlhuang Exp $
+# $Id$
+# $URL$
#
import os
if armor:
args.append("--armor")
- p = Popen(args, stdin = PIPE, stdout = PIPE, stderr = PIPE)
+ p = Popen(args, stdin = PIPE, stdout = PIPE, stderr = PIPE, close_fds = True)
export = p.stdout.read()
err = p.stderr.read()
rc = p.wait()