Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Open a remote shell programmatically
Open a remote shell programmatically [message #571987] Mon, 14 January 2008 12:42
Harald Krapfenbauer is currently offline Harald KrapfenbauerFriend
Messages: 16
Registered: July 2009
Junior Member

I have the following question:

I want to execute a command remotely in the default shell of a
connection programmatically, hence I wrote:

IRemoteCmdSubSystem cmdSS =
IRemoteCommandShell shell = cmdSS.getDefaultShell();
cmdSS.sendCommandToShell("ls", shell, null);

If the default shell was not open, it is opened, but only shown in the
"Remote Systems" view. I now want to do programmatically exactly what
happens when I choose "Show in Remote Shell View" from the default
shell's context menu, i.e. the "Remote Shell" view shall pop up, and the
default shell shall be visible (i.e. newly opened, or brought to

How can I accomplish this?

Thank you + best regards,
Harald Krapfenbauer
Previous Topic:CVS checkout to remote project folder fails
Next Topic:ssh-only configuration with Plink
Goto Forum:

Current Time: Fri Apr 20 03:15:03 GMT 2018

Powered by FUDForum. Page generated in 0.01693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software