[ 
https://issues.apache.org/jira/browse/FELIX-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867199#action_12867199
 ] 

Derek Baum commented on FELIX-2339:
-----------------------------------

the scripting support can also run scripts without invoking the interactive 
console, e.g.

[felix-framework-2.0.4]$ java -Dgosh.args='-sc telnetd -p1234 start' -jar 
bin/felix.jar

Welcome to Felix
================

_______________
Welcome to Gogo
Use 'type' to explore registered commands, 'type -?' for help.

telnetd is running on port 1234

// the -c is --command which provides an in-line script (like bash -c 
'commands..')
// the -s is --noshutdown, so the framework continues to run after the command 
completes


[felix-framework-2.0.4]$ telnet localhost 1234
Trying ::1...
Connected to localhost.
Escape character is '^]'.
_______________
Welcome to Gogo
Use 'type' to explore registered commands, 'type -?' for help.

g! 

> [gogo] add support for running scripts
> --------------------------------------
>
>                 Key: FELIX-2339
>                 URL: https://issues.apache.org/jira/browse/FELIX-2339
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo
>            Reporter: Derek Baum
>            Assignee: Derek Baum
>             Fix For: gogo-0.6.0
>
>
> gogo should be able to run scripts from files, which control how it boots or 
> do other tasks.
> something like:
> $ gosh script.osh arg1 arg2
> or
> $ source aliases.osh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to