deemon

1.13.4 • Public • Published

deemon

npm version

Utility to run a process in the background and attach to it

Usage

npx deemon COMMAND [ARGS]

Example

asciicast

npx deemon /bin/bash -c "while true; do date; sleep 1; done"

Ctrl C will stop the current session and leave the process running in the background. Simply run the same command again to attach to it:

npx deemon /bin/bash -c "while true; do date; sleep 1; done"

Ctrl D will stop the current session and the background process. You can also simply kill the background process with the --kill flag:

npx deemon --kill /bin/bash -c "while true; do date; sleep 1; done"

Or you can force a restart of the background process and attach to that with the --restart flag:

npx deemon --restart /bin/bash -c "while true; do date; sleep 1; done"

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.13.43,564latest

Version History

VersionDownloads (Last 7 Days)Published
1.13.43,564
1.13.36
1.13.237
1.13.15
1.13.06
1.12.09
1.11.019
1.10.01
1.9.01
1.8.04,770
1.7.21
1.7.1212
1.7.0580
1.6.04
1.5.03
1.4.0621
1.3.02
1.2.02
1.1.03
1.0.02

Package Sidebar

Install

npm i deemon

Weekly Downloads

9,848

Version

1.13.4

License

MIT

Unpacked Size

19.4 kB

Total Files

5

Last publish

Collaborators

  • joaomoreno