Bug: Background doesn't work as expected, should be deprecated and eventually removed
还没有人认领这个 Issue。
评估
调研方向
从 lib/sshkit/backends/abstract.rb#L59 开始,检查 background DSL 方法如何调用 nohup 以及 shell 作业控制。搜索 repository 中 background 的调用方以及相关测试或文档;当约定的弃用或移除范围在 DSL 及其使用处得到一致体现时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
The problem is that background simply nohup and backgrounds the process using the shell's job control &. More often than not, badly behaved daemons still block.
There's many hoops to jump through to ensure that your process behaves well when backgrounded, forked, nohupped, etc - and we can't whitelist programs that do it well, and blacklist those that can't.
Discussion is welcome, but I do think that background() should be removed from the DSL.
- 主要语言
- Ruby
- 星标
- 1.2k
- 派生
- 256
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
capistrano/sshkit 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
capistrano/sshkit#563 · 6 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 45/100
capistrano/sshkit#562 ·
-
难度 3/5 1-2 天 新手友好度 48/100
capistrano/sshkit#554 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
capistrano/sshkit#543 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
capistrano/sshkit#518 · 1 条评论 ·
查看 capistrano/sshkit 的全部 Issue
相似的 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 86/100
bridgetownrb/bridgetown#1130 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
stripe/stripe-ruby#1994 ·
维护者通常 1 天内回复
-
[Fehler]: /abdeckstift wirft 500 — part_type aus der Phonemreduction-Umbenennung nicht mitgezogen未关闭bug
难度 2/5 1-3 小时 新手友好度 73/100
wort-schule/wort.schule#787 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
lugassawan/swe-workbench#799 ·
维护者通常 1 天内回复
-
2.8.6: NoMethodError "undefined method 'first'" in profdata_coverage_dir whenever --scheme is used未关闭
难度 2/5 1-3 小时 新手友好度 70/100
SlatherOrg/slather#586 · 2 条评论 ·