Skip to content
Development
Command

/stop

Stop a running Tauri application by process ID

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/stop

Context preview

What this command does when you run it.

Stop a running Tauri application by process ID

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
Ships withclaude-command-suite

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

Get the whole plugin