Skip to content

The open-source app everyone uses to manage agents at work

240 B
Raw Blame
export function preferredShellForSandbox(shellCommand: string | null | undefined): "bash" | "sh" {
  return shellCommand === "bash" ? "bash" : "sh";
}

export function shellCommandArgs(script: string): string[] {
  return ["-c", script];
}