The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 1ccc92717cc8fc404ae21f9e6cb9de31b8722c04 Author: Kornel Benko <[email protected]> Date: Sun Dec 30 11:30:15 2012 +0100 The param 'close_fds' is not allowed on windos for subprocess.popen call, if there are also redirections to stdin, stdout or stderr. diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index bfa4c2a..9fa28e6 100755 --- a/src/tex2lyx/test/runtests.py +++ b/src/tex2lyx/test/runtests.py @@ -70,7 +70,7 @@ def main(argv): else: lyxfile = os.path.join(outputdir, base + ".lyx") cmd = '%s -roundtrip -copyfiles -f %s %s' % (tex2lyx, texfile, lyxfile) - proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) + proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) proc.wait() err = proc.returncode errorstring = proc.stderr.read() ----------------------------------------------------------------------- Summary of changes: src/tex2lyx/test/runtests.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- The LyX Source Repository
