[
https://issues.apache.org/jira/browse/FELIX-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Derek Baum resolved FELIX-1403.
-------------------------------
Resolution: Fixed
changed Pipe.java to remember IO in thread local fields.
Use these thread local values to initialise IO in Pipe constructor.
added tests to testPipe().
> [gogo] IO redirection does not work for nested executions
> ---------------------------------------------------------
>
> Key: FELIX-1403
> URL: https://issues.apache.org/jira/browse/FELIX-1403
> Project: Felix
> Issue Type: Bug
> Components: Gogo
> Reporter: Derek Baum
> Assignee: Derek Baum
>
> example uses karaf, but problem is in gogo runtime:
> ka...@root> osgi:list | grep osgi
> [ 18] [Active ] [ ] [ 30] org.osgi.impl.bundle.jmx
> (4.2.0.200907080519)
> above works as expected.
> now define a closure:
> ka...@root> list = { osgi:list}
> org.apache.felix.gogo.runtime.shell.clos...@23113e
> ka...@root> list | grep osgi
> START LEVEL 100
> ID State Blueprint Level Name
> [ snip ]
> output from closure is not piped into grep.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.