In a POSIX compliant system, you should be able to rely on 'sh' being
available in the system PATH (you can't rely on where 'sh' is without
interrogating the system which is hard to do remotely):
http://pubs.opengroup.org/onlinepubs/007904975/utilities/sh.html
Where possible, utilities shouldn't expect a user's interactive shell to be
POSIX compliant, or make any assumptions about a user's shell, so
explicitly invoking 'sh' is much better practice.
Having said that, I can see why some projects may not be particularly
concerned about this.
Steve
On Thu, Jan 2, 2014 at 6:44 PM, <fishmailing.jexp...@recursor.net> wrote:
> Thank you for your fast reply, Mait!
>
> Am 02.01.2014 19:21, schrieb Mait - matte...@gmail.com:
> > - Do not use fish as login shell for remote host. Run from .bashrc
> > when interactive mode.
>
> If this works, this could be a quick'n'dirty workaround for my personal
> needs, though this requires an additional sh instance for every
> interactive login :-/
>
> > - You could run those program via wrapping `sh -c` or `bash -c`
>
> The programs do start the remote session.
> So I'm not able to control their SSH connection.
>
> Besides that, I wondered if wrapping is still POSIX compliant/
> compatible so maintainers are willing to accept an according patch.
>
> Because this requires to assume there _is_ i.e. a 'sh' installed and
> that it's located at a specific location and/or in the path.
>
> Anybody aware of a common best practice here?
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users