Search code examples
shellosgikura

Runnig shell command on osgi/kura stack


How I can easily run shell command like ls on linux os behind kura?

I've tried classic java approach, but it not work.

Please help. Give me some guidelines, directions. It is very hard to find something on network.


Solution

  • You can use : org.eclipse.kura.executor.Command and org.eclipse.kura.executor.CommandExecutorService.