[
https://issues.apache.org/jira/browse/FELIX-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Derek Baum resolved FELIX-2661.
-------------------------------
Resolution: Fixed
added --nointeractive flag to gosh, so no interactive startup can now be
achieved using:
$ java -Dgosh.args=--nointeractive bin/felix.jar
It is no longer necessary to specify a dummy command like '-sc echo'. The
gosh_profile is not run in non-interactive mode (so the gogo banner will not be
displayed). However, new sessions created by telnet or ssh, will be interactive
and thus run gosh_profile and show gogo banner.
> [Gogo] It should be easier to start Gogo shell non-interactively
> ----------------------------------------------------------------
>
> Key: FELIX-2661
> URL: https://issues.apache.org/jira/browse/FELIX-2661
> Project: Felix
> Issue Type: Improvement
> Components: Gogo Shell
> Affects Versions: gogo-0.6.1
> Reporter: Richard S. Hall
> Assignee: Derek Baum
> Fix For: gogo-0.8.0
>
>
> To start the Gogo shell non-interactively, you have to specify a dummy
> command and tell it not to shutdown in its configuration...something like
> this:
> gosh.args=--noshutdown -c noop=true
> This is not necessarily the most straightforward approach and it also results
> in the gosh_profile being executed and the MOTD being displayed, which
> doesn't really make sense in the non-interactive use case.
> It seems like it would be better to have an explicit flag to tell the Gogo
> shell to start up non-interactively (e.g., --noninteractive), which would
> also imply not shutting down, but wouldn't require a dummy command, nor
> execute the gosh_profile.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.