mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 11:20:34 +00:00
Fix launch command not applying customizations
This commit is contained in:
@@ -158,11 +158,15 @@ public class TerminalLauncherManager {
|
||||
var request = UUID.randomUUID();
|
||||
ShellControl session;
|
||||
try {
|
||||
session = ref.getStore().getOrStartSession();
|
||||
session = ref.getStore().standaloneControl();
|
||||
} catch (Exception e) {
|
||||
throw new BeaconServerException(e);
|
||||
}
|
||||
|
||||
// These prepend scripts, not append
|
||||
TerminalPromptManager.configurePromptScript(session);
|
||||
ProcessControlProvider.get().withDefaultScripts(session);
|
||||
|
||||
ProcessControl control;
|
||||
if (arguments.size() > 0) {
|
||||
control = session.command(CommandBuilder.of().addAll(arguments));
|
||||
|
||||
Reference in New Issue
Block a user