Skip to content
Development
Command

/stop

Stop a running Tauri application by process ID

From plugin
claude-command-suite
1.4k199 skills89 agents199 commands
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-code

Command definition

stop.md
name: rust:tauri:stop
description: Stop a running Tauri application by process ID
allowed-tools: mcp__tauri-mcp__stop_app, mcp__tauri-mcp__get_app_logs, Bash
author: Quintin Henry (https://github.com/qdhenry/)

<objective> Gracefully stop a running Tauri application. Captures final logs before termination. </objective>

<context> Running Tauri processes: !`pgrep -l -f "tauri\|monotask" 2>/dev/null || echo "No Tauri apps currently running"` </context>

<instructions> Stop the Tauri application: **$ARGUMENTS**

The argument should be a process ID from a previous `/tauri:launch` command.

Stop Process

1. **Get Final Logs** Before stopping, capture any remaining logs using `mcp__tauri-mcp__get_app_logs`:

  • `process_id`: The PID to stop
  • `lines`: Last 50 lines

2. **Stop the Application** Use `mcp__tauri-mcp__stop_app` with:

  • `process_id`: The process ID to terminate

3. **Verify Termination** Confirm the process has stopped using a quick process check.

4. **Report Results**

  • Confirmation of termination
  • Any notable final log entries
  • Errors if termination failed

Usage Examples

# Stop by process ID
/tauri:stop 12345

# Stop with "process_id" prefix (from copy-paste)
/tauri:stop process_id: 12345

</instructions>

<output_format>

App Stopped Successfully
- Process ID: [PID]
- Final Status: [exit status if available]

Notable final logs:
[any errors or important messages]

</output_format>

<troubleshooting> **"Process not found":**

  • The app may have already terminated
  • Verify the process ID is correct
  • Run `/tauri:launch` to start a new instance

**"Failed to stop":**

  • Try `kill -9 [PID]` as a fallback
  • Check if the process is zombied

</troubleshooting>

Read more
@qdhenry
Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

1.4k12 skills89 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.4k
Star history of qdhenry/Claude-Command-Suite on GitHub, a chart by star-history.com

Other commands on claude-command-suite.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command