- Add engine shell utility to resolve the correct shell per platform - Update routine runner to execute commands through shared shell selection - Update cron runner to use the same cross-platform shell behavior - Apply shared shell handling in dashboard routes for command execution - Add shell utility tests covering platform-specific selection behavior
2 lines
82 B
TypeScript
2 lines
82 B
TypeScript
export const defaultShell = process.platform === "win32" ? "cmd.exe" : "/bin/sh";
|