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:
parent
b47dd96a8f
commit
97c8498abf
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue