That is not a bad idea. The problem I see is that it will only work in
*some* cases.
fabric, the ssh library LittleChef uses, mentions nohup:
https://fabric.readthedocs.org/en/1.8/faq.html#why-can-t-i-run-programs-in-the-background-with-it-makes-fabric-hang
Backgrounding a process like that may prevent the shell from exiting
in the normal case. fabric does mention similar but less problematic
ways of doing the same as nohup, but describes them as being better.
tmux, screen or dtach tough are not always installed, so that would be
an extra dependency.
Of course there is always the possibility of implementing as an opt-in
option. So if it works for you and you have the need for it, you can
activate it.
2014-05-07 5:01 GMT+02:00 David Cyrus <
apathe...@gmail.com>:
> Hi, I was wondering if there's a way for `chef-solo` to keep running even If
> I get accidentally disconnected from ssh? Sort of using `nohup`.
>
> --
> You received this message because you are subscribed to the Google Groups
> "littlechef" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
littlechef+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.