Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Management » capture output of one command
capture output of one command [message #1151814] Wed, 23 October 2013 12:18
Martin Tauber is currently offline Martin Tauber
Messages: 114
Registered: July 2009
Senior Member
Hi everybody,

I would like to execute a command on a remote system and capture just
the output of the command for further processing. I have tried to
execute the command with SimpeCommandOperation.runCommand(...) and
ShellService.launchShell(...) . The problem is, that I got lot's of
output I am not interested in like cd to the directory, the command
prompts ... exit command etc. How can I avoid that?

Regards
Martin
Previous Topic:Convert IFile to IRemoteFile
Next Topic:Using RSE for creating own builder
Goto Forum:
  


Current Time: Wed Apr 23 20:03:26 EDT 2014

Powered by FUDForum. Page generated in 0.01411 seconds