mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
The param 'close_fds' is not allowed on windos for subprocess.popen call,
if there are also redirections to stdin, stdout or stderr.
This commit is contained in:
parent
79b6a057da
commit
1ccc92717c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user