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
Quickrun-shell is the way to enable stdin when running a file, but the way it does this is via eshell, which doesn't load the standard environment.
For example, this means if you use something like pyenv to manage python installations, quickrun and quickrun-shell will run two different versions of python.
Afaik eshell explicitly does not try to load bash profiles or anything like that, so there's no real way to make this work with eshell.
But what you can do, however, is instead of using eshell, use compilation-start and pass t to put it in interactive mode.
I'm not sure if you can get the "press R to restart" behavior with comint mode, but I'd much rather have stdin and consistent environments than the ability to rerun with a single key. That's what M-x repeat-command is for 😛
The text was updated successfully, but these errors were encountered:
Quickrun-shell is the way to enable stdin when running a file, but the way it does this is via eshell, which doesn't load the standard environment.
For example, this means if you use something like pyenv to manage python installations, quickrun and quickrun-shell will run two different versions of python.
Afaik eshell explicitly does not try to load bash profiles or anything like that, so there's no real way to make this work with eshell.
But what you can do, however, is instead of using eshell, use compilation-start and pass
t
to put it in interactive mode.I'm not sure if you can get the "press R to restart" behavior with comint mode, but I'd much rather have stdin and consistent environments than the ability to rerun with a single key. That's what
M-x repeat-command
is for 😛The text was updated successfully, but these errors were encountered: