You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Pepijn Noltes (JIRA)" <ji...@apache.org> on 2015/08/12 11:22:46 UTC

[jira] [Updated] (CELIX-230) Refactoring of the shell command service

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

Pepijn Noltes updated CELIX-230:
--------------------------------
    Fix Version/s: next

> 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)