You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using with-cwd somehow messes up the way the interpreter looks for the file to be executed if the interpreter is started via a shebang sequence and with-cwd is employed in a file that is loaded with "-l" or "-lm". (I am using Scheme 48, btw)
Using with-cwd somehow messes up the way the interpreter looks for the file to be executed if the interpreter is started via a shebang sequence and with-cwd is employed in a file that is loaded with "-l" or "-lm". (I am using Scheme 48, btw)
Minimal (non)working example:
lib.scm
:main.scm
:The result when both files are put in the same directory and
main.scm
ist executed is:A hackish solution to the problem is to put
(chdir ".")
at the end oflib.scm
. Then "I got here!" will get to be printed.The same problem exists when Scheme 48 modules are used and
with-cmd
is used in the definitions.The text was updated successfully, but these errors were encountered: