Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

backend_pgf: open file handles on Windows #1324

Copy link
Copy link
Closed
@pwuertz

Description

@pwuertz
Issue body actions

For determining font metrics, the pgf backend is communicating with a spawned LaTeX instance. A problem on Windows is that a process spawned by subprocess automatically inherits all open file descriptors and keeps them open as long as the subprocess is running. As a result, the application will hold on to the files and moving or deleting them may fail. There is an option called close_fds that prevents this from happening, but if you enable that option there is no way of communicating with the process.

I don't see how this can be done with stdin/stdout on Windows, so the only solution appears to be the development of a own simple inter-process communication and not to inherit fds when spawning the subprocess.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.