celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-230) Refactoring of the shell command service
Date Wed, 06 Jul 2016 12:17:11 GMT

     [ https://issues.apache.org/jira/browse/CELIX-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pepijn Noltes closed CELIX-230.
-------------------------------
    Resolution: Fixed

> Refactoring of the shell command service
> ----------------------------------------
>
>                 Key: CELIX-230
>                 URL: https://issues.apache.org/jira/browse/CELIX-230
>             Project: Celix
>          Issue Type: Improvement
>            Reporter: Pepijn Noltes
>            Assignee: Pepijn Noltes
>            Priority: Minor
>             Fix For: next
>
>
> The shell command service is one of the first services developed and has some issues.
> Most importantly:
> 1) the interface:
>  void (*executeCommand)(command_pt command, char * commandLine, void (*out)(char *),
void (*error)(char *));
> Here  out and error stream does not take a handle. resulting in the need for global vars
or complex wrapper.
> This will change to FILE *. Which can be easily used to wrap fd or use in memory streams.
> 2) For one command for function have to made. Only one will remain (executeCommand).
the rest will be osgi properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message