[FEATURE] Enable Claude Code to open new terminal windows on Win/mac/linux
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When working in PowerShell/Terminal, for example, it's often nice to be able to spawn a new process with a command that doesn't run in Claude Code without pausing the interface.
Proposed Solution
I'd like to be able to ask Claude to open a new terminal with a command, like SSH or the like.
It is possible to do this in Windows with:
# Open a new window and run command
wt -w new powershell -NoExit -Command "echo Hello World"
or
# Start a new PowerShell window
Start-Process powershell -ArgumentList "-NoExit", "-Command", "echo Hello World"
or
# Open a new cmd window
Start-Process cmd -ArgumentList "/k echo Hello World"
for Mac Terminal:
# Open a new terminal window and run a command
open -a Terminal -n --args bash -c "echo Hello World; exec bash"
It can also be done on Linux terminal (several different options)
# GNOME Terminal (default on Ubuntu)
gnome-terminal -- bash -c "echo Hello World; exec bash"
# Or with -e (older versions)
gnome-terminal -e "bash -c 'echo Hello World; exec bash'"
# xterm
xterm -e "bash -c 'echo Hello World; exec bash'"
# Konsole (KDE)
konsole -e bash -c "echo Hello World; exec bash"
# xfce4-terminal
xfce4-terminal -e "bash -c 'echo Hello World; exec bash'"
# Tilix / Terminator
tilix -e "bash -c 'echo Hello World; exec bash'"
Alternative Solutions
The only other way to do it is to just hit the keyboard shortcut for it and type the command, but it's nice to have some subprocesses to run in parallel. Like typing "Run this script in a new window and do xyz other task" and have both complete
Priority
Low - Nice to have
Feature Category
CLI commands and flags
Use Case Example
Example scenario:
- I'm working on a code project.
- I have a development build ready to test.
- I want to open an ssh connection to my server
- I tell Claude, "Start and ssh connection to this ip address with this user"
- Claude opens a new terminal window with the ssh command ready for me to start working with that system.
Additional Context
<img width="1086" height="179" alt="Image" src="https://github.com/user-attachments/assets/5dc52f85-c10f-4ced-a180-d74bf1851b09" />
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗