The package makes it possible to dispatch shell commands which, under the hood, becomes completely detached from the Emacs session. Which means closing Emacs has no effect on the launched shell command. The
dtache package implements a user interface which is highly integrated, despite the disconnection that happens underneath.
The package offers multiple ways of dispatching shell commands. We can do so with either:
- The function
The latest addition is
dtache-eshell-create-session, which is provided through the
dtache-eshell package. This allows the users to
attach to sessions.
dtache-eshell when running on localhost.
dtache-eshell when running on a remote host.
Here we can see that we can only attach to sessions running on the same host as eshell is currently in.
dtache-open-session we can list all sessions independent on host and see all the ones that were just created.
If you are an
eshell user, and this functionality seems interesting to you, checkout the README in dtache for more information about how to get started :)