Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Publish ssh tool

Harald Gjermundrod a écrit :
Dear Romain

The SSHConnection class is now exposed in the Head version. Please let us know if you need anything else.
Thank you.

I need to read the standard output and write on the standard input of a process launched through the ssh connection is it possible to have several prototypes like allowing to give input and out streams for stdin, stdout, stderr. For exemple

The prototype

public String execCommand( final String command, InputStream stdin ) throws ProblemException

The use:

InputStream in = new ByteArrayInputStream(builder.toString().getBytes());
String result = connection.execCommand("qsub", in);


Best regards, Romain

Best Regards,
Harald G.



On Jul 18, 2008, at 12:29 PM, Romain wrote:

Hi guys,

I have started to develop a PBS plugin for g-Eclipse. I need to access the PBS cluster through a SSH connection. Is it possible change the SSHConnection class for being visible outside the eu.geclipse.batch bundle?

Best Reagards,
Romain.
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev

_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev



Back to the top