diff --git a/core/src/main/java/io/xpipe/core/process/ShellView.java b/core/src/main/java/io/xpipe/core/process/ShellView.java index 62d7d444f..cd5ee0085 100644 --- a/core/src/main/java/io/xpipe/core/process/ShellView.java +++ b/core/src/main/java/io/xpipe/core/process/ShellView.java @@ -133,6 +133,10 @@ public class ShellView { shellControl.getShellDialect().getWhichCommand(executable)); } + public void cd(FilePath directory) throws Exception { + cd(directory.toString()); + } + public void cd(String directory) throws Exception { var d = shellControl.getShellDialect(); var cmd = shellControl.command(d.getCdCommand(directory));