1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-09 18:15:23 +02:00

cd to intialialWorkingDirectory after starting shell

This commit is contained in:
David McKnight 2006-06-30 16:46:31 +00:00
parent b47dd96a8f
commit 97c8498abf

View file

@ -56,6 +56,7 @@ public class SshHostShell extends AbstractHostShell {
fStdinHandler = new PrintWriter(fChannel.getOutputStream()); fStdinHandler = new PrintWriter(fChannel.getOutputStream());
fChannel.connect(); fChannel.connect();
writeToShell("cd "+initialWorkingDirectory);
} catch(Exception e) { } catch(Exception e) {
//TODO Forward exception to RSE properly //TODO Forward exception to RSE properly
e.printStackTrace(); e.printStackTrace();