Open rsms opened 2 years ago
Hm yeah, there were a couple issues with tx reading from stdin and writing to stdout so we had to use temp files
Grep for "tempfile" below and see the inline comments (sorry I'm writing from mobile phone) https://github.com/adobe-type-tools/cffsubr/blob/master/src/cffsubr/__init__.py
Perhaps those issues have been fixed in tx upstream, I don't know.
PRs welcome
Didn't mean to close sorry.. Why do you set TMPDIR environment variable to a path that does not exist?
Why do you set TMPDIR environment variable to a path that does not exist?
It was an accident; a makefile included by another makefile used a variable with the same name (and unfortunately in make, make variables and env variables share scope.)
Once I figured out what was going on I changed the make variable.
When tx is run (in my case via fontmake) and the TMPDIR environment variable is set to a path that does not exist, tx crashes.
Repro:
Full log here: https://gist.github.com/rsms/e9946c7f28bb6e663b622e9c4b7f16f0
tx seem to write data and then read it back in again. I wonder if it can skip that disk write-and-read middle step?