Fix launch command not applying customizations

This commit is contained in:
crschnick
2026-04-07 02:40:06 +00:00
parent 54256b9f8c
commit 1b9aaffd8d
@@ -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));