gwatt / chez-exe

Chez Scheme self hosting executable
Other
179 stars 40 forks source link

(car (command-line)) is a random /tmp file #6

Closed weinholt closed 5 years ago

weinholt commented 5 years ago

Compile this program with chez-exe:

(import (rnrs))
(write (command-line))
(newline)

When run it will print something like ("/tmp/schemeprogramPnhgz8") instead of e.g. ("foo.ss").

I don't see any obvious way to fix it without patching Chez.